Disabling JSHint for CoffeeScript - coffeescript

I recently installed JSHint via Package Manager in Sublime Text 2. As part of my job, I need to edit .coffee files, which JSHint throws all kinds of errors on. I'm unable to identify any preference files or other means of disabling JSHint on these files.
Is it possible to selectively disable JSHint on certain file extensions?

You can create a .jshintignore file at the top level with this in it:
*.coffee

Related

Configuring Stylelint for VSCode Globally

Here's what I want to achieve: I want to configure the extension so that it checks and fixes automatically any errors in any .scss file that I create.
I don't want to install the packages manually for every project that I create.
Here's what I've done so far:
Installed StyleLint Extension
Disabled VS Code's Built-In Linters
Installed the following packages globally:
Postcss
Postcss-scss
stylelint
stylelint-config-recess-order
stylelint-order
Enabled SCSS validation
Added path to postcss syntax
Any advice on what to do next?

clangd for vscode with multiple build directories

I am trying to use clangd for code completion within vscode. I am using CMake for the project setup and I am creating a compilation database. However, I have several build directories with different flags (Debug, Release...) and clangd requires to have the compilation database in the source directory. This is not possible, since compilation databases for each build type are different...
Is there any way to use clangd when you have multiple build types?
I solved this my using a VSCode cmake tools feature.
in the settings of my workspace I added
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json"
This copies the compile_commands.json of the build dir to workspace folder, which in my case happens to be where clangd is looking for the compile_commands.json file.
If I change the preset, the new compile_commands.json from the new is copied again so the clangd model is updated.
I typically solve this by symlinking one compilation database into the source directory. Which one depends on what I do - mostly it is the one for the "standard" build I use most often. There are other specialized builds, but I only switch to the corresponding compdb if I really need the different settings.

VSCode hides folder contents when certain files are opened

I have an angular project open in VSCode, but whenever I activate certain file tabs it hides every file & folder inside my src/ directory!
Here's a screen recording of what happens: https://imgur.com/kQrIUdQ
No other folders are affected, and nothing is actually chnaged in the src/ folder. I can seect a *.ts file, close VSCode, and then re-open it with that *.ts file active and the folder contents shows again until I activate a tab that does this again.
This is extremely annoying and I've never seen this happen before. let me know if you need any other information to help diagnose this issue.
Edit: My installed extensions are as follows:
Angular Language Service 0.1.11
AutoHotkey 0.2.2
C# 1.18.0
Code Spell Checker v1.6.10
Hosts Language v1.1.1
npm v0.3.5
npm Intellisense v1.3.0
Prettify JSON v0.0.3
stylelint v0.48.0
TSLint v1.0.0

JetBrains IDE: Disabling CoffeeScript -> .js file generation on save

I am using PyCharm to edit CoffeeScript files. Every time I save the file, PyCharm invokes a transpiler and generates .js file in the same folder as .coffee file.
This behavior is undesirable and I don't want my IDE to generate .js files.
I have not found a way to disable this behavior, even after going through File Watcher / Inspection settings and disabling inspections for CoffeeScript, as instructed in JetBrains IDE documentation.
How I can disable PyCharm (or other JetBrains IDEs) to automatically generate .js files from .coffee files?
Please disable file watcher per instructions in Help: go to Settings/Tools/File Watchers, select CoffeeScript file watcher there, clear the check box next to it

How to use SASS with Netbeans 8.0.1

I'm trying to use SASS in Netbeans 8.0.1. I have Ruby and SASS set up correctly based upon the feedback from ruby -v.
I have a web application set up with css and scss folders under Project\Web Pages\resources.
My input and output are set to /scss and /css respectively and I have checked 'Compile Sass File on Save'. I have created a styles.scss file and added some SASS/CSS.
When I save the styles.scss file, is it supposed to generate a styles.css? Nothing happens when I save or compile the project.
Has anyone run into any similar problems or have suggestions on how to debug this problem?
Thanks in advance!
Installing SASS on Windows10, Ruby2.2.3, Netbeans8
Download SASS for Windows - RubyInstaller.org
Install Ruby like:
Search windows for CMD (Command Prompt) and start it.
Access Ruby's bin folder using cd \Ruby\bin (Hit Enter)
Install sass using the command gem install sass (Hit Enter to install)
Wait for the installation to finish
In Netbeans open
Options → Tools → Miscellaneous (HTML/JS in v8.1+) → CSS Preprocessors tab
Enter the path to the installed sass.bat C:\Ruby\bin\sass.bat than click Install Sass.
Confirm your changes with Apply / OK
Use an existing one or Create a New Project (HTML5, PHP, whatever...).
After the project is created open the Projects window.
Right-Click your project and choose > Properties.
From the Project Properties popup select CSS Preprocessors.
Select the Compile SASS Files on Save.
(If you want the compiler to automatically minimize your .css result file, use --style compressed under the Compiler Options)
You can see from the image above that the compiler uses two default Input(watchable)/Output(compiled destionation) folders paths.
Create the scss folder (an optionally the css folder) in your project as well.
You're done!
As soon you create a new .scss file or you save it Netbeans will automatically compile the file to .css in the /css folder.
Yes, when you save the file, the css should be created/updated. I think you have wrong mapping for the input/output directories. The paths need to be relative to site root/web root. I don't know for sure what your project is (HTML5 or PHP or Java Web or other?), but if you have Java Web project, then the paths need to be
resources/scss -> resources/css
Salam guys, the below image form my (Command Prompt with Ruby) says that:
"Ruby Sass has reached end-of-life and should no longer be used"
For modern SASS and Netbeans we can just use https://github.com/sass/dart-sass/releases/tag/1.56.1 and install it in our PATH.
The release has the sass.bat file we need (as Roko C. Buljan pointed in his tutorial for Ruby).
There's not need to install Ruby and any other environment.
I applied this on Netbeans 15