Commit graph

290 commits

Author SHA1 Message Date
Matt Bierner 9ca019f9e8 Update js/ts grammars 2017-10-12 19:25:15 -07:00
Martin Aeschlimann cf70385df5 Folding regions broken 2017-10-12 16:55:15 +02:00
Matt Bierner b811aa6c40 Fix all javascript being tagged as the javascript react language 2017-10-11 18:15:31 -07:00
Martin Aeschlimann 1fb361861f [folding] add work boundries to folding markers 2017-10-11 17:28:10 +02:00
Matt Bierner 63ecf01397 Use unique grammar and scope for JavaScript react to avoid conflicts when overriding plain old javascript grammar
Fixes #35532
2017-10-10 15:02:32 -07:00
prog-rajkamal 214437bd75 Fix #35322: Modenrize javascript snippets (#35444) 2017-10-09 12:32:38 -07:00
Matt Bierner 0bd33bbd96 Use strict versions for @types. Fixes #35561 2017-10-09 11:21:00 -07:00
Matt Bierner d06bf76099 Update js/ts grammar
Fixes #35768
Fixes #35639
2017-10-09 08:46:43 -07:00
Alex Dima e95122f45e No need to inline license details, as they can be fetched from the repo 2017-09-27 12:08:55 +02:00
Alex Dima aa9952edb7 Fix after PR #34486 and run OSS tool 2017-09-27 11:54:14 +02:00
Alexandru Dima 8cba35dd0f Merge pull request #34486 from myEditor/master
Updated the license to MIT
2017-09-27 11:32:19 +02:00
Martin Aeschlimann 45251543b9 [folding] snippets for folding markers 2017-09-25 23:00:02 +02:00
Martin Aeschlimann 777fddd4f7 [folding] add folding marker to API and schema 2017-09-25 22:25:45 +02:00
Matt Bierner cbfafa8f15 Update js/ts grammar 2017-09-25 11:28:07 -07:00
Martin Aeschlimann 098d2dbfa8 [ts/js] update grammar 2017-09-25 15:25:05 +02:00
Martin Aeschlimann 9e05d4b635 [folding] fold regions, initial, preconfigured support. For #12146 2017-09-22 13:50:03 +02:00
Oliver Joseph Ash 81444f43fa Add import statement snippet to .js(x) files (#34682)
* Add import statement snippet to JS files

This makes them consistent with TS files.

* Add import statement snippet to jsx files
2017-09-20 08:49:57 -07:00
isidor efdc328058 ${workspaceRoot} -> ${workspaceFolder} 2017-09-19 11:21:49 +02:00
Matt Bierner 761d23b04c Mark inline js expressions in js with language javascript
Fixes #20874
2017-09-18 14:32:58 -07:00
Nguyen Long Nhat fde88d8bfc Updated the license to MIT 2017-09-16 00:55:52 +07:00
Matt Bierner 0347eda931 Update TS/JS grammars 2017-09-13 23:00:51 -07:00
Matt Bierner 35c8bc4daa Further improve colorization of embeded expressions
- Add groovy embedded support
- Make high contrast colorization consistent
2017-09-12 11:04:02 -07:00
Matt Bierner dc2f6ec2a5 Improve colorization of embedded start end puctuators across languages 2017-09-12 09:49:40 -07:00
Matt Bierner 49db68d7ce Reset VS Dark + Light styling for meta embedded (#33866)
Fixes #33120

Adds rules to vs dark+light to reset style for meta embedded scopes. This is a proposed approach to support colorization of nested languages better
2017-09-06 11:18:53 -07:00
Hearstzhang ee36947c88 #issue 33155: treate .pac file as javascript file (#33245) 2017-08-28 10:21:11 -07:00
Martin Aeschlimann 159fa624b2 [json] Incorrect version string when adding dependency to package.json. Fixes #30977 2017-07-20 11:09:12 +08:00
Matt Bierner 9ad4bcd66f Update TS grammar 2017-07-12 14:26:42 -07:00
Erich Gamma d312f2b940 Add a schema association for babelrc #30380 2017-07-11 11:02:08 +02:00
Joao Moreno 5667cc0e69 use vsce to determine what to package when bundling extensions
fixes #29054
2017-06-21 16:17:21 +02:00
Matt Bierner 6fa9edcf71 Update js/ts grammar 2017-06-20 13:51:31 -07:00
Matt Bierner ab1e78ef1f Update js/ts grammar (#27957) 2017-06-05 10:05:50 -07:00
Martin Aeschlimann f9084bb244 Add information_for_contributors to grammars 2017-05-26 09:27:51 +02:00
Martin Aeschlimann d889de5bb5 [typescript] update grammar 2017-05-26 09:27:50 +02:00
Martin Aeschlimann ae333a8b41 test fixes for #17178 2017-05-18 10:50:30 +02:00
Matt Bierner ae5c28306b Pick up updated js/ts grammar (#26094) 2017-05-08 08:12:33 -07:00
Matt Bierner 7d2dea4e45 Add "Include" to extension TSConfig Files (#25860)
**Bug**
Most VSCode extensions currently specify `"exclude"` in their `tsconfig.json` but not `"include"`. This may result in extra files being included in each project

**Fix**
Add  `"include": ["src/**/*"]` to all extension tsconfig files
2017-05-05 11:37:59 -07:00
Bradley Meck d6c61a0e12 Add .mjs to known JavaScript file extensions (#25747)
Also add .es6 in missing places
2017-05-04 16:21:08 -07:00
Matt Bierner 08b0a15967 Update TS/JS Grammars (#25337)
* Update TS/JS Grammars

* Update test results

* Update html tests
2017-04-25 15:29:09 -07:00
Matt Bierner 5f628cd731 Use js/tsconfig schema for jsconfig.*.json files (#24637)
Fixes #24572

Applies the js/tsconfig schema to file names such as `jsconfig.app.json`
2017-04-12 14:46:08 -07:00
Martin Aeschlimann 486545bb45 Set '"' and ':' as trigger characters for package/bower.json 2017-03-21 22:48:37 +01:00
Matt Bierner 42335c57f5 Revert "Use types tsconfig option where possible"
This reverts commit 38fbba35ff.
2017-02-07 16:31:50 -08:00
Matt Bierner 38fbba35ff Use types tsconfig option where possible 2017-02-07 15:57:22 -08:00
Matt Bierner 1a024c1b19 Use reference @types/node in extensions 2017-02-07 15:38:04 -08:00
Matt Bierner 7c633148b3 Remove unneeded d.ts files from extensions (#19653)
* Remove unneeded d.ts files from extensions

Moves most extensions to use the lib files for the standard library that typescript provides.

* Remove a few more node.d.ts references
2017-02-01 12:34:50 -08:00
Martin Aeschlimann cc8df7305b Replace jade with pug. Fixes #18219 2017-01-30 21:59:59 +01:00
Martin Aeschlimann 2e56953919 [ts] grammar update, fix tests 2017-01-30 12:13:36 +01:00
Martin Aeschlimann 2c55fde0da [ts] update grammar. Fixes #19403 2017-01-30 11:58:08 +01:00
Martin Aeschlimann 56d2e439e6 Update jsonc-parser 2017-01-26 11:31:23 +01:00
Martin Aeschlimann abfdbf6d46 [typescript] grammars: remove workaround for spaces in scope names 2017-01-19 12:02:16 +01:00
Martin Aeschlimann 3956be9ba6 [typescript] update grammar to to Microsoft/TypeScript-TmLanguage@e47681d (2017-01-17). Fixes #18612 2017-01-19 12:02:15 +01:00
Alex Dima e664ba622d Fixes #18262: interpret languages with empty aliases array as languages that don't want to show up in the picker 2017-01-09 12:32:39 +01:00
Alex Dima 88c45c4e57 Merge remote-tracking branch 'origin/master' into alex/tokenization 2017-01-09 11:19:26 +01:00
Martin Aeschlimann d826ad6e4f [jsx][tsx] Wrong type of comments for React code. Fixes #6461 2017-01-07 10:57:37 -04:00
Alex Dima ebc43b3e8b Merge remote-tracking branch 'origin/master' into alex/tokenization 2017-01-05 12:31:43 +01:00
Alex Dima 90d74c59aa Use hex colors in themes integration tests 2017-01-05 09:47:08 +01:00
Alex Dima 10f68352a0 Themes integration tests 2017-01-04 22:44:08 +01:00
Johannes Rieken bc1b1f1881 Merge pull request #17423 from mjbvz/fix-package-json-auto-complete
Fix package.json Auto complete
2016-12-30 13:50:14 +01:00
Martin Aeschlimann ac16d37827 [ts/js] update grammar 2016-12-28 15:11:12 -04:00
Matt Bierner 76007c48fd Fix package.json Auto complete
Fixes #17342

**Bug**
I believe that 739d8ca77f introduced a regression for package.json auto complete where we end up inserting the text `*` for the package.version

**Fix**
Insert `""` instead of star to match previous behavior better
2016-12-16 14:03:09 -08:00
Martin Aeschlimann d20d9ece16 [typescript] update grammar 2016-12-12 10:52:57 +01:00
Matt Bierner 59e53d6070 Remove mocha.d.ts from extension projects that don't need it 2016-12-07 17:06:27 -08:00
Alex Dima 4bb1d18d6a Fixes #15696: Do not auto-close ' in comments 2016-11-30 15:51:02 +01:00
Martin Aeschlimann ea26b957f6 Adopt new snippet syntax in JSON schema defaultSnippets (for #15573) 2016-11-25 17:04:18 +01:00
Martin Aeschlimann b8f51b5351 [typescript] update grammar 2016-11-18 17:26:22 +01:00
Johannes Rieken 739d8ca77f migrate [bower|package]JSONContributions, #15573 2016-11-17 11:21:42 +01:00
Johannes Rieken 1ec1711302 adopt [bower|package].json default proposals, #3210 2016-11-16 16:44:39 +01:00
Johannes Rieken c76b721d81 SnippetString and improved CompletionItem.insertText, #3210 2016-11-16 15:29:13 +01:00
Johannes Rieken cf5c011529 Fix our snippets to be text mate compatible 2016-11-11 17:13:36 +01:00
Martin Aeschlimann 147130799d [typescript] update grammar 2016-11-08 21:47:40 +01:00
Alex Dima 99bd264c7a Fix integration test ("whitespace" scopes should not get "invisibles" color) 2016-11-07 11:08:07 +01:00
Martin Aeschlimann 85887c2de6 Lots of borders in package.json hover. Fixes #14526 2016-11-04 10:46:58 +01:00
Martin Aeschlimann 47a79e95c4 [ts] update grammar 2016-10-27 16:39:46 +02:00
Martin Aeschlimann 2db37ea17a Wrong highlighting for angle bracket syntax in embedded language. Fixes #14551 2016-10-27 12:04:54 +02:00
Martin Aeschlimann 117f6bba76 [ts] update grammar 2016-10-18 11:57:00 +02:00
Martin Aeschlimann f38751b6d3 [ts] color object literal keys 2016-10-17 14:49:59 +02:00
Martin Aeschlimann bf82981686 [themes] add variable.language for this, super, self... 2016-10-14 18:33:16 +02:00
Martin Aeschlimann 073c6d04e9 [themes] add support.function 2016-10-14 18:02:14 +02:00
Martin Aeschlimann 010c5068d9 [themes] add support.class & support.constant (for ts) 2016-10-14 17:20:05 +02:00
Martin Aeschlimann 8751b28026 [themes] remove entity.name.function scope from dark vs-default 2016-10-14 16:06:39 +02:00
Martin Aeschlimann 52f9c67a5a [themes] avoid entity.name.class scope 2016-10-14 16:05:33 +02:00
Martin Aeschlimann 0069a59414 [ts] coloring for 'this' 2016-10-14 10:41:22 +02:00
Martin Aeschlimann de957293de [ts] upate grammar, remove meta scopes 2016-10-14 10:13:51 +02:00
Johannes Rieken 6eb4cd9df5 tsfmt - extensions/javascript 2016-10-08 09:29:51 +02:00
Sandeep Somavarapu 5ad1483b63 fix #12750 2016-09-28 18:07:03 +02:00
Martin Aeschlimann 757650b26e [js] use textToMarkedString in JSON contributions 2016-09-07 16:37:36 +02:00
Martin Aeschlimann 332908b290 [json] Hover/completion not working for scoped packages. Fixes #10541 2016-08-29 13:38:30 +02:00
Martin Aeschlimann c5fc19d474 grammar update script: Generalize as /build/npm/update-grammar 2016-08-03 12:13:18 +02:00
Martin Aeschlimann 5ca799fd07 [javascript] update grammar, grammar as JSON 2016-08-02 17:27:04 +02:00
Martin Aeschlimann da7264c5b3 [json] set filter text for all property proposals 2016-07-27 15:45:36 +02:00
Martin Aeschlimann c84ecd7867 Update JSON Schema for JS and TS #8221 2016-07-22 11:04:01 +02:00
Martin Aeschlimann e929d1d8f0 Migrate JS/TS to language-configuration 2016-07-21 20:06:20 +02:00
Martin Aeschlimann 349c4ddf60 [json] hover in JSON documents hides '*', fixes #8068 2016-07-20 16:29:31 +02:00
Martin Aeschlimann 802d562fdc fixes #8977: package.json dependency hover can break with links 2016-07-19 16:37:11 +02:00
Alex Dima d5862e8dba Clean extensions OSSREADME.json since the tool now can scan all npm-shrinkwrap.json files 2016-07-07 12:36:49 +03:00
Andre Weinand a6692f931a remove unused dependency 2016-07-01 17:21:18 +02:00
Andre Weinand ea6eae40e0 update OSSREADME from npm-shrinkwrap 2016-07-01 15:21:42 +02:00
kieferrm f0419d476c shrinkwrap javascript extension 2016-06-30 11:51:46 -07:00
Martin Aeschlimann 96452b48e7 Do not rely on codeSnippet for filtering fixes #6620 2016-06-27 22:39:21 +02:00
Martin Aeschlimann 88f88a9093 Update TS grammar with fix 11. 2016-06-22 10:17:03 +02:00
Martin Aeschlimann 700d73620a Update typescript grammar (June 9) 2016-06-15 09:44:31 +02:00
Martin Aeschlimann 573844e49a Update to latest jsonc-parser 2016-06-15 09:33:13 +02:00
Martin Aeschlimann e1999f2685 Test for #6916 2016-05-26 15:37:05 +02:00
Alex Dima 9326b1406b Fixes #6916: Remove type parameters rule from JavaScript grammar 2016-05-26 13:44:39 +02:00
Martin Aeschlimann 9823c9d7df Update typescript grammar 2016-05-26 12:28:53 +02:00
Sandeep Somavarapu 3354ae92f7 fix #5918 2016-05-17 15:59:59 +02:00
Martin Aeschlimann 1f0657703b Extension licenses: Fix URL for node-jsonc-parser 2016-05-02 11:52:52 +02:00
Martin Aeschlimann 0c10a9c5a4 Add extension OSS dependencies 2016-05-02 11:48:26 +02:00
Johannes Rieken 3f770ea2be warn when unexpected properties show up in jsconfig.json, #5699 2016-04-27 12:30:28 +02:00
Martin Aeschlimann 8497c0e5db Fix for invalid proposals in bower.json 2016-04-21 14:03:36 +02:00
Martin Aeschlimann 6e8f659617 update to jsonc-parser 0.2.0 2016-04-20 14:07:50 +02:00
Martin Aeschlimann 65f28d6e17 Make addJSONProviders a Disposable 2016-04-19 16:47:18 +02:00
Martin Aeschlimann 8678d9e60a update jsonc/request versions to 0.1.0 2016-04-19 12:37:35 +02:00
Martin Aeschlimann 235cbcdf9d Move bower/package.json dependency completions to javascript extension 2016-04-18 17:55:40 +02:00
Martin Aeschlimann 37f5e2b355 [colorize tests] update test result data 2016-04-11 21:28:19 +02:00
Martin Aeschlimann a5ae040dba [js/ts] colorizer tests 2016-04-11 16:03:39 +02:00
Martin Aeschlimann c0367f94ba Update jsconfig.schema.json 2016-03-23 15:29:42 +01:00
Martin Aeschlimann 6cc960a70c incorperate Joh's comments 2016-03-22 14:58:24 +01:00
Martin Aeschlimann 439e3aa03c Update jsconfig 2016-03-22 12:59:57 +01:00
Martin Aeschlimann 996edf8e85 Fixes #2787: Salsa doesn't support AMD and we should warn users that AMD is not supported 2016-03-17 16:28:56 +01:00
Martin Aeschlimann 6ac1a239c9 Update to latest TS/JS grammar 2016-03-16 09:50:01 +01:00
Martin Aeschlimann ba737b58dc Update Typescript & JavaScript grammars with fix for TypeScript-TmLanguage/37 2016-03-12 14:58:07 +01:00
Martin Aeschlimann 499b4b55bd Consume latest TypeScript grammar and token.css simplification 2016-03-11 10:31:42 +01:00
Joao Moreno cfbf9294e4 add javascript react snippets
fixes #3415
2016-02-26 10:31:26 +01:00
Martin Aeschlimann 3043d12a12 [ts][js] update grammar to dbb24c8 (Feb 24) 2016-02-24 15:30:13 +01:00
Martin Aeschlimann 17862b8ce0 Fixes #2898: [js] update jsconfig.json to latest tsconfig.json schema 2016-02-23 11:03:47 +01:00
Martin Aeschlimann 710b5a1d42 fixes #2174 : [js] Salsa - JS ReactNative - use the TypeScriptReact grammar for JS 2016-02-11 09:40:15 +01:00
Martin Aeschlimann 36dd129388 Fixes #2698 : Dark and light (Visual Studio) themes target ts for some important js styles 2016-02-04 13:58:05 +01:00
Martin Aeschlimann 09c07b7830 Update TS/JS grammars to 59c4f26 (Feb 2) 2016-02-03 18:39:13 +01:00
Martin Aeschlimann db1768a599 [theme] storage.type is used for types 2016-01-11 13:52:36 +01:00
Martin Aeschlimann b102636053 No Intellisense with package.json #1769 2016-01-05 14:21:38 +01:00
Alex Dima 92a726b8da Revert OSSREADME.json / ThirdPartyNotices.txt changes 2015-12-17 12:41:01 +01:00
Chris Dias 0334ffd2db fix spaces 2015-12-16 19:14:01 -08:00
Martin Aeschlimann 45f29b9988 [js] update grammars with latest from TypeScript-TmLanguage (05e623f) 2015-12-11 16:06:09 +01:00
Johannes Rieken c8d4a43181 es6 is the default 2015-12-10 14:17:41 +01:00
Martin Aeschlimann 736ff0bd99 [json] move schema associations to extensions 2015-12-09 23:40:36 +01:00
Martin Aeschlimann 0b3f7b223d [javascript] Bring back ES6 syntax highlighting support #133 2015-12-03 16:03:48 +01:00
Johannes Rieken 3f7972116a Fix #47, add support for comments and brackets for JSX 2015-11-24 16:19:14 +01:00
Jake Lee Kennedy 15ffb3dd2b Function calls not highlighted in JS
tmTheme files use `meta.function-call` to highlight function calls.
2015-11-21 12:10:24 +00:00
Chris Dias 6f9e2ae390 Add reference to DefinitelyTyped, updated the TypeScript version, and generate a new thirdpartynotices.txt 2015-11-13 15:48:38 +01:00
Erich Gamma 8f35cc4768 Hello Code 2015-11-13 14:39:38 +01:00