![]() ![]() Similarly when your JavaScript project is growing too large, often because of library folders like node_modules, we will prompt you to edit the exclude list. The hint creates a template for a jsconfig.json, with an exclusion list for you to edit: For this reason we now provide a hint to create a jsconfig.json file. By adding a jsconfig.json file, you can the define the root of your project, the folders to exclude, etc. Only the file itself and the JavaScript files it references are considered for features like IntelliSense. Without a jsconfig.json, each JavaScript file is treated as an island. The JavaScript experience is much better when you have a jsconfig.json file in your workspace that defines the project context. Guidance in creating a jsconfig.json file Since the JavaScript support doesn't understand ES7 constructs, features like IntelliSense might not be fully accurate. If you do this, we recommend that you use a linter like ESLint to validate your code. For users who still want to use these ES7 features, we have revived the setting to disable all built-in syntax checking. However, these are currently not supported by Salsa and are flagged as errors. Some users want to use syntax constructs like the proposed ES7 Object Rest/Spread Properties. Disable Syntax Validation when using ES7 constructs We improved the JavaScript documentation and added more information about the jsconfig.json and its attributes. When you have typescript.tsdk set, then the TypeScript version is shown in the bottom right of the Status Bar. Otherwise you might be using an older version of TypeScript. Please note: If you have tested the Salsa preview in the past and have configured the typescript.tsdk setting, then please make sure to remove it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |