Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Objective-C syntax highling in Stash Comments

August Shultz April 29, 2015

Do Comments in Stash support Objective-C syntax highlighting? If so, what is the keyword to place after the backticks?

1 answer

0 votes
Adam
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 29, 2015

You can use a CodeMirror mode name, or file extension. In general, see the mappings at CodeMirror's meta.js file (but you'll have to find the version of CodeMirror that corresponds to your version of Stash - see Configuring Stash syntax highlighting for a mapping of CodeMirror to Stash versions.

 

For Objective C, you type

```objective c
implementation Blah {}
```

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events