IntelliJ: how to force editor to treat a file as javascript?

The above answer is slightly outdated. You can do the same in IntelliJ 14 by doing the following: Go to Preferences (Mac OSX : Cmd + Comma) Under Editor -> File Types In the Recognized File Types Highlight JavaScript files (JavaScript) Under Registered Patterns press the + button Enter your regex pattern (for example: *.js.scala.html) … Read more

How can I enable Visual Studio Code HTML error checking and validation?

Visual Studio Code doesn’t have HTML validation by default. But it allows you to add extensions and enable these features. To add HTML validation (linting), open Visual Studio Code, and then press Ctrl + P. Then paste ext install HTMLHint in it, and press Enter. It will install an HTML validator. You may need to … Read more

Free/open source code editor UI control for .Net [closed]

I’ve been using the SharpCode.TextEditor for a few cases, and it works quite well – including syntax highlighting and all. Check out this Using ICSharpCode.TextEditor article on CodeProject for an intro. To download it, go to the SharpDevelop web site and download the latest sources. One of the projects included is the Text editor, which … Read more

How can I prevent the “You have mixed tabs and spaces. Fix this?” message?

Sounds like you have the Visual Studio Productivity Power Tools 2013 installed. Go into its settings and turn off “Fix Mixed Tabs”… Tools -> Options -> Productivity Power Tools -> Turn Extensions On/Off If you have the default VS settings, tabs in the editor are converted to spaces. So (in theory) if you clicked Untabify … Read more

tech