-
Suggestion
-
Resolution: Fixed
-
None
-
None
-
None
We should add syntax highlighting for hpp extensions to Stash.
The syntax highlighting is applied based on the rules set at the following javascript file:
./webapps/ROOT/static/feature/file-content/source-view/source-view.js
To mave "hpp" recognized as C++, you can open the file and locate the following line:
cpp : { exts : ['cpp', 'h', 'c', 'cc', 'cxx'], exes : []},
Then add the new hpp extension to the list:
cpp : { exts : ['cpp', 'h', 'c', 'cc', 'cxx', 'hpp'], exes : []},
And save the file.
This file is bundled to the batch.js which is cached by our js injection plugin. So to make sure the new version of the js file will be used, please remove all the content of the following folder and then restart Stash:
STASH-HOME/caches/webresources
[BSERV-2694] Syntax highlighting for "hpp" extension
Workflow | Original: JAC Suggestion Workflow [ 3395801 ] | New: JAC Suggestion Workflow 3 [ 3623929 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: BSERV Suggestions Workflow [ 2686034 ] | New: JAC Suggestion Workflow [ 3395801 ] |
Workflow | Original: Stash Workflow [ 403602 ] | New: BSERV Suggestions Workflow [ 2686034 ] |
Status | Original: Closed [ 6 ] | New: Resolved [ 5 ] |
Fix Version/s | Original: 1.3.0 [ 27908 ] | |
Affects Version/s | Original: 1.2.2 [ 28007 ] | |
Assignee | Original: ArvindA [ akunday ] | |
Issue Type | Original: Improvement [ 4 ] | New: Suggestion [ 10000 ] |
Priority | Original: Minor [ 4 ] |
Remote Link | New: This issue links to "Wiki Page (Extranet)" [ 24767 ] |
Fix Version/s | New: 1.3 [ 27908 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: To be reviewed [ 10026 ] | New: Closed [ 6 ] |
Status | Original: In Progress [ 3 ] | New: To be reviewed [ 10026 ] |
Remote Link |
New:
This issue links to "Stash › Master › |
Remote Link | New: This issue links to "Wiki Page (Extranet)" [ 23078 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |