I get this error: "expected an identifier and instead saw 'const'", I'm using brackets text editor. I found this answer: "You need to specify the es6 directive. See JSLint Help". But I can't figure it out how to specit...
I have Googled and looked through this site everywhere, but I can only find answers for JSHint instead of JSLint.  To get rid of the "use function form of use strict" error I add in /*jslint node: true */. But to disable errors for using cons...
I'm trying to find a way to test if the cursor is preceded by a specific string and then trigger an event.   Example of what I'm trying to do:  User clicks somewhere inside the editor, a cursorActivity (cursor or editor changed) event is fire...
I am writing an Extension for the Text-Editing software called Brackets, Brackets uses Bootstrap to style the Modal and CSS. I am trying to add custom CSS to the Modal so that I can reformat, move and resize different elements on the Modal such as th...
How do you use libraries in Brackets without the javascript lint giving errors? For example I am using chart.js and the product works completely fine but Brackets gives an error that Chart was used before being defined. Is there any way to hide this...
***Unable to run npm command "npm install -g tty.js". Here is the error log I am getting :***    =D:\Users\pjha\AppData\Roaming\npm\node_modules\tty.js\node_modules\ws     (node-gyp rebuild 2> builderror.log) || (exit 0)       D:\Users\pjh...
Starting off using brackets as a text editor to write javascript code, kindly note I'm a beginner, and I'm getting weird errors when I write my code like unexpected console statement when I use console.log() or name is not defined if I declar...
I am currently using Brackets (code editor) to create some C source files. It uses CodeMirror to handle the syntax highlighting and I have been attempting now for a while to try and add keywords to it.  I managed to add 'printf' as a keyword...
In Adobe Brackets, I am getting warnings from JSLint when writing strict code ['use strict'] that my switch case statement is incorrectly formatted: eg. Expected 'case' at column #, not column #  If I move everything inside the switch...
I'm writing a brackets extension for a new text language, which is a mix of html and handlebars + javascript. And I want to write a Code Mode by using existing CodeMirror modes e.g. htmlmixed, javascript, handlebars.  This is what I have currentl...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.