IDE for IcedCoffeeScript programming? - iced-coffeescript

What IDE can I use to develop IcedCoffeeScript code with syntax highlight and intellisense?
I tried to use Webstorm, but it does not support IcedCoffeeScript.

You can't have more than syntax checking/coloring and snippets with (iced)CoffeeScript (on any IDE) because the way the language operate. So intellisense is out of game. Many environments supports autocomplete, who can help.
Atom Editor has Iced Coffee Compiler, syntax highlight(the same with sublime or other), and someone have add snippets(or). Finaly has a very good autocomplete package by default.
Sublime has only syntax hightligh
Bracket editor have nothing!
same with visual studio code.
note: all editors can have different kinds of autocomplete features with or without packages(extensions).

Related

Overlay the function signature in goSublime

I am using GoSublime with Sublime Text 3.
Often times in a large project I'd like to see the (function) caller's return arg types and while GoSublime enables me to "Go to" the declaration, that's still sub-optimal, compared to having an overlay that could just show up at the callee
Is there a way to do this?
After two and half years working with go and trying different IDEs, we have moved from Sublime Text to Visual Studio Code.
We had been using Visual Studio Code with the Go plugin for the last 6 months and it's the best Go experience you can have. If you integrate Delve debugger with it you get a really good coding framework.
So my recommendation is that you move to VSC and give away Sublime Text.
This is how it looks what you are looking in Visual Studio Code:

SASS | Indent based syntax in VS 2015

Does anyone know how I can use the SASS Indent based syntax in visual studio 2015 with highlighting.
I am not too fussed about compilation because I am using grunt for this anyway.
I am trying to get the company I work for to switch towards SASS indent syntax from LESS and so far everything looks as if I am winning in doing so.
The only issue is I think they will just scrap it off if I cant supply a way of using the syntax in VS2015 properly
anyone know any plugins etc?
thanks in advance,
Kieran
If I understand your question correctly: do the following
tools > options > text editor > sass > tabs
check "smart"
choose the tab size
check "insert spaces"
This will give you the automatic indenting that you can get from CTRL + D to format your document.
As far as Highlighting intellisense, this should have been featured in your VS2015, but if it's not, Go to Extensions and Updates and search for "SassyStudio". This has intellisense in it
Here is another link for .sass files syntax highlight. I was able to use this with no internet connection workstations (government). I think this will help

emacs style autocompletion (alt+/) in visual studio

Intellisense is fine in various Visual Studio editors (C#, VB...).
However, in various other cases, your typing productivity drops dramatically because Intellisense simply does not apply (XML without XSDs, simple text files).
Emacs and eclipse have a simple, generic answer to these situations: ALT+/ autocompletion.
By repetitively pressing ALT+/ the editor will cycle through word-completion suggestions.
ALT+/ has no concept of the target buffer syntax (it can be text) and will just handle words. The suggested words are filtered as matching the already typed characters in reverse appearance order.
Question:
Is there any way to emulate this shortcut in VS2012 (+Resharper 7.1) - or even previous versions for that matter?
My brain is now hardwired to use it and I feel like I've lost half of my fingers when I switch from eclipse to VS.
Caution:
I'm not asking for a way to import the full emacs set of shortcuts (as I'd prefer to avoid collisions and I want to stick to the standard VS shortcut culture for the rest of the IDE, mixing with resharper is hard enough).

Visual Studio: Preserving syntax coloring when pasting code into HTML

I'm writing some documentation that will occasionally include C# or C++ code snippets.
In Visual Studio, the Edit/Copy command includes syntax coloring. You can see this if you paste the text into, e.g., Word or Outlook. In fact, if you use the "Paste Special..." command, you can see that it's "Rich Text (RTF)".
However, when pasting this text into an HTML file in Visual Studio, none of the colouring (or even formatting) is preserved.
Any ideas? I'm looking specifically for something that works locally (preferably in Visual Studio), not JavaScript-based solutions (such as SyntaxHighlighter).
There's an addin called CopySourceAsHtml which does a pretty neat job. I've used it a few times, but I use a Javascript to do the highlighting on my blog these days (so it's "plaintext readable").
You can use existing C to HTML syntax highlighter tools for converting your snippets into HTML and copy&pasting from there. Here's a list of such tools (not exhaustive and in no particular order):
GNU Enscript
GNU Emacs with htmlize.el module allows you to dump a highlighted Emacs buffer as HTML
There might also exist web services that allow you to copy&paste C code into a form and get highlighted HTML back.
I use this for highlighting code on webpages. It's simple to use and easy to extend.
http://code.google.com/p/syntaxhighlighter/
It also supports C#.

Visual Studio identical token highlighting

I coded a Mancala game in Java for a college class this past spring, and I used the Eclipse IDE to write it. One of the great (and fairly simple) visual aids in Eclipse is if you select a particular token, say a declared variable, then the IDE will automatically highlight all other references to that token on your screen. Notepad++, my preferred Notepad replacement, also does this.
Another neat and similar feature in Eclipse was the vertical "error bar" to the right of your code (not sure what to call it). It display little red boxes for all of the syntax errors in your document, yellow boxes for warnings like "variable declared but not used", and if you select a word, boxes appear in the bar for each occurrence of the word in the document.
A screenshot of these features in action:
After a half hour of searching, I've determined that Visual Studio cannot do this on its own, so my question is: does anyone know of any add-ins for 2005 or 2008 that can provide either one of the aforementioned features?
Being able to highlight the current line your cursor is on would be nice too. I believe the add-in ReSharper can do this, but I'd prefer to use a free add-in rather than purchase one.
There is a RockScroll alternative called MetalScroll which is essentially the same thing with a few tweaks and improvements.
Also there is a small and simple WordLight plug-in that only highlights the identical tokens.
Both are open source and support code folding which is nice.
Imho, the bar next to the scroll bar in Eclipse is a lot more elegant solution than the scroll bar replacement of RockScroll/MetalScroll. Unfortunately I couldn't find any VS plug-ins that do it the Eclipse way, so I just stick with WordLight.
Check following addins
Productivity Power Tools- Displays error in scrollbar and
Highlight selected word
In a different question on SO (link), someone mentioned the VS 2005 / VS 2008 add-in "RockScroll". It seems to provide the "error bar" feature I was inquiring about in my question above.
RockScroll
EDIT: RockScroll also does the identical token highlighting that I was looking for! Great!
Old question but... Visual Studio 2010 has this feature built-in, at last.
The highlight functionality is conveniently implemented in VisualAssist.
In my opinion, they are both must-have.
1) Highlight identifier under editing caret:
Options -> Advanced -> Refactoring -> Automatically highlight references to symbol under cursor
2) Highlight search result - in all windows. Works for RegExps!
Options -> Advanced -> Display -> Highlight find results
About RockScroll: It doesn't highlight the identifiers. It only highlights the same string in the source code! If there are similar identifier declared : ex. _test and test, and test is highlighted it will highlight the string "test" in variable _test too! And it will also highlight the same string in a method called "sometesting()". So it isn't exactly like eclipse and doesn't work for me.
The automatic highlight is implemented in Visual Assist as the refactoring command "Find References". It highlights all occurences of a given variable or method, but that's not automatic (binded to a keyboard shortcut on my computer).
Here is an exmaple:
DevExpress CodeRush does this when you press TAB when the cursor is in an identifier, you can then tab through all the highlighted instances. There's also a DXCore plugin (the foundation upon which CodeRush/Refactor Pro are built) that does current-line highlighting.
In VS 2017, this can be solved by installing the Match Margin plugin.
It appears to be part of the Productivity Power Tools (which might be worth looking at for other features), but surprisingly, installing PPT didn't solve the problem for me, I had to install Match Margin separately.
The "error bar" functionality is provided in JetBrains ReSharper. I'm not sure if it does highlighting of references to the currently selected identifier.
For selected word(s) highlight function only, there is also StickyHighlight.
StickyHighlight supports Visual Studio 2010 & 2012.

Resources