简体   繁体   中英

eclipse kepler, nodeclipse, coffeesctipt and ctrl+/ comments

i am trying to use Eclipse's nodeclipse plugin to edit coffeescript files. the problem is, when i try to comment a line using ctrl+/, it comments the like with // (java style comment) instead on # (coffeesctipt style comments). anyone knows a solution to that? can i change the comment marker for a specific file type?

I could not find any way to change the behaviour of ctrl+/ to fit coffeesctipt (# instead of //) in Enide bundle. There is no specific page for CoffeeScript editor settings, or even a way to activate it, for that matter (to the attention of the Enide developers).

While Enide was the only result for searching for CoffeeScript on the Eclipse Marketplace (if you have the marketplace - it is the left-most icon on the bottom left, with the Eclipse logo), I switched to the Yoxos Marketplace and found CoffeeScript-Editor (yes, as simple as that). after installing, I had an option to open .coffeescript files using a CoffeeScript editor, which comments the right way.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM