Commit graph

329 commits

Author SHA1 Message Date
isidor 2ba92aa3e8 add commitHash to cgmanifest 2018-11-15 17:43:46 +01:00
isidor 347fb6347b add all cgmanifests. Still no commitHash 2018-11-14 18:18:25 +01:00
Matt Bierner 812a35fc39 Update js/ts grammar 2018-11-05 16:20:13 -08:00
Matt Bierner def0c260d4 Pick up latest js/ts grammar 2018-10-29 20:05:15 -07:00
Alex Ross fd8d4b09e1 Update grammars 2018-10-23 16:13:27 +02:00
Kyra 7de4798021 snippets: Add setInterval snippet (#61351)
* snippets: Add setInterval snippet

* fix: typo in prefix
2018-10-19 15:13:08 -07:00
Martin Aeschlimann 10a1d2a50a update grammars 2018-10-04 12:00:39 +02:00
Alex Dima 34e7a220c8 Avoid shipping unnecessary files 2018-09-19 19:53:46 +02:00
Matt Bierner dbeeecbaed Refactoring to create TS Server object
Rebase of a number of incremental changes listed below

Move first level dispatchMessage into ForkedTsServerProcess

Goal is to move callbacks and other per-server state into `ForkedTsServerProcess`

Create forked ts server object syncrounously

There is no reason for this to be async anymore. Making this object sync reduces complexity and makes the code easier to reason about

Moving server relate functions into ForkedTSServer object

The goal here is to have a single "server" object that keeps track of all its relevant state. The service client would manage one of these servers at a time, starting new ones if needed and dispatching to old ones

Split server into own file

Use switch case instead of conditionals

Make pendingResponses readonly

Add typings for callback item

Improve naming

- Use more descriptive names
- Preview private vars with _

Use passed in version for getting command line args

Attach webview click handler to window instead of to document body

Fixes #48926

Change error handling for ts server exit and error

- Don't fire twice on error (once for the `once` and once for the `onError`)
- Flush callbacks on both exit and error.

Remove cancellationPipeName as state

Remove obsolete comment

Move all env generation into generatePatchedEnv

Extract server spawn into static method

Move spawn from static to be own factory class

Move providers from arguments to state on the spawner

Update js/ts grammar

Remove duplicate error handler

Cleaning up server fork

- Standarize names
- Extract methods
- Move some function to be private statics
- Move logging out of electron and into server.ts

Use undefined instead of null for optional value
2018-09-13 11:55:44 -07:00
Matt Bierner 6d7ab69411 Update js/ts grammars 2018-08-29 01:10:38 +02:00
Matt Bierner bfae34d749 Update js/ts grammar 2018-08-23 10:54:24 +02:00
Alex Dima 256d205f95 Merge remote-tracking branch 'origin/master' into pr/JacksonKearl/52634 2018-08-22 10:24:19 +02:00
Matt Bierner d039671ad1 Update js/ts grammars 2018-08-20 15:50:44 +02:00
Jackson Kearl 277d02debb Merge branch 'master' into feature-demo/auto-closing-config 2018-08-08 10:46:46 -07:00
Jackson Kearl 4dff8da77b remove comments for more proper json 2018-08-08 10:43:16 -07:00
Martin Aeschlimann e4c54be876 update TypeScript grammar 2018-07-27 11:02:03 +02:00
Martin Aeschlimann c640a0ed5c adopt color changes in colorizer tests 2018-07-27 11:02:03 +02:00
Matt Bierner 1e10fa5163 Update ts/js grammars 2018-07-26 15:40:45 -07:00
Jackson Kearl 75fec9f1fd Merge branch 'feature-demo/auto-closing-config' of github.com:JacksonKearl/vscode into feature-demo/auto-closing-config 2018-07-24 13:41:00 -07:00
Jackson Kearl 763e939bdd Document jsx specialization 2018-07-24 00:38:38 -07:00
Jackson Kearl 629c05f1f8 Add special case for js(x) template strings 2018-07-24 00:07:42 -07:00
Matt Bierner 56d3f0acf2 Update js/ts grammar 2018-07-20 18:07:43 -07:00
Matt Bierner 0f699f35f2 Update js/ts grammar
Addresses #53896
2018-07-10 15:31:10 -07:00
Matt Bierner 9f8491190a Update js/ts grammars 2018-07-03 17:19:04 -07:00
Matt Bierner 260ee3284e Update js/ts grammars 2018-06-19 10:02:48 -07:00
Martin Aeschlimann 772aaf777a update grammars 2018-06-11 13:03:28 +02:00
Matt Bierner 43f6cd5b9c Update js/ts grammar 2018-06-07 16:38:52 -07:00
Matt Bierner 43987a99b5 Update js/ts grammar 2018-06-05 12:48:16 -07:00
Matt Bierner b3b2ba104a Pick up updated js/ts grammar
fixes #50293
2018-05-22 10:43:27 -07:00
Martin Aeschlimann bf33900a41 update grammars. Fixes #49071 2018-05-03 17:11:41 +02:00
Matt Bierner a4c3e74748 Auto trigger suggest on jsdoc parameter names
Fixes #48976
2018-04-30 17:08:53 -07:00
Matt Bierner 5006f7aea7 Update js/ts grammars 2018-04-24 15:38:54 -07:00
Matt Bierner 07d85ac0a0 Update js/ts grammar 2018-04-20 13:27:07 -07:00
Martin Aeschlimann 9d2814a9a1 update grammars 2018-04-18 22:13:50 +02:00
Matt Bierner 2840741d5e Update js/ts grammar 2018-04-16 15:13:49 -07:00
Matt Bierner d0bc1c3fe4 Updating js/ts grammars 2018-04-06 17:08:40 -07:00
Matt Bierner 5900899b83 Fix quick suggestions not shown in ${| template string
Fixes #37176
2018-04-02 18:43:28 -07:00
Matt Bierner 85d01bfd81 Update js/ts grammars 2018-04-02 16:08:25 -07:00
Matt Bierner 2823cd4b73 Update js/ts grammar 2018-03-23 16:10:48 -07:00
Matt Bierner a715dfcbd6 Update js/ts grammars 2018-03-23 15:37:58 -07:00
Matt Bierner 95a406bd2a Mark import paths as other type instead of string
Ensures that quick suggestions work properly

Fixes #46142
2018-03-19 14:58:14 -07:00
Martin Aeschlimann d5bded0904 update grammars 2018-03-17 17:40:48 +01:00
Matt Bierner eb2b0dfc20 Fix should auto trigger at ${|in js/ts template strings
Fixes #37176
2018-03-16 15:18:14 -07:00
Matt Bierner d74145ed78
Support quickSuggestions in JSDoc Types (#46001)
* Support quickSuggestions in JSDoc Types

Fixes #43715

Requires vscode-textmate 3.3.1 before merging

* Pick up new vscode textmate version
2018-03-16 15:14:44 -07:00
Matt Bierner c55926ac9d Update js/ts grmmar 2018-03-15 22:07:57 -07:00
Matt Bierner b391f5bd72 Update grammars 2018-03-13 15:16:43 -07:00
Matt Bierner 93bd5435bb Update js/ts grammars 2018-03-13 14:24:55 -07:00
Greg Van Liew b3a1b98d54 Edit pass on built-in extension descriptions (#44875) 2018-03-01 16:43:06 -08:00
Ramya Achutha Rao 15d0e9b30b Remove and other language features from description of basic builtin extensions #44626 2018-02-27 18:15:50 -08:00
Martin Aeschlimann 8bd41ceeca built-in extensions: version to 1.0.0 (for #43978) 2018-02-27 15:16:07 +01:00
Matt Bierner 5f25d3c167 Update js/ts grammars 2018-02-26 16:35:57 -08:00
Martin Aeschlimann 292a290e3f Rename built-in syntax and snippet extensions to "Language Basics". Fixes #44241 2018-02-26 21:27:22 +01:00
Matt Bierner 0cb6cfec4f Remove unused .vscode folders 2018-02-22 16:29:09 -08:00
Matt Bierner 8e0bdd6040 Split package-json specific logic out of javascript extension 2018-02-22 16:27:20 -08:00
Matt Bierner 5a73518833 Add real displayname and description to the javascript extension
Part of #43978
2018-02-22 15:12:09 -08:00
Martin Aeschlimann 8fdf170a08 update grammar script: remove unused properties 2018-02-12 16:54:46 +01:00
Martin Aeschlimann 3e9d16948c [ts/js] update grammars 2018-02-09 12:45:27 +01:00
Dirk Baeumer e91b851ca8 Upgrade to latest language pack format 2018-01-30 00:11:57 +01:00
Matt Bierner b3526e5adf Update js/ts grammar 2018-01-25 15:28:54 -08:00
Dirk Baeumer 04594c864b Add support for Language Packs 2018-01-25 21:14:34 +01:00
Ng Yik Phang cc6f165f2d
Use HTTPS for npm package.json auto-complete
Fixes https://github.com/Microsoft/vscode/issues/41511
2018-01-12 14:41:59 +08:00
Matt Bierner 385e7f7341 Update js/ts grammar 2018-01-02 13:20:50 -08:00
Tony Collen 8ee4aba28b Switch all schemastore.org URLs to use SSL. (#40737)
References SchemaStore/schemastore#12
2018-01-02 11:36:21 -07:00
Martin Aeschlimann 0865d488b7 [js] update request-light 2017-12-21 11:06:10 +01:00
Martin Aeschlimann 7c5c8d59db [js] update grammar 2017-12-20 17:30:56 +01:00
Matt Bierner 90fc6b1739 Update javascript jsonc
Fixes #40098
2017-12-12 15:50:07 -08:00
Matt Bierner 640cd6624e Update request-light in JS extension
#40101
2017-12-12 11:07:10 -08:00
Matt Bierner f806fc6d0c Update JS/TS grammars 2017-12-08 14:48:35 -08:00
Matt Bierner 63455cb30d Colorize TS/JS function property names the same as method names
Fixes #39592
2017-12-04 15:41:38 -08:00
Martin Aeschlimann 30296f6e61 No JSON IntelliSense for babelrc. Fixes #24267 2017-11-27 10:37:47 +01:00
Martin Aeschlimann 0fd1ba9903 update bower registry URI 2017-11-22 17:30:33 +01:00
Martin Aeschlimann 448eaa21f0 [json] descriptions for package completions 2017-11-21 13:01:32 +01:00
Martin Aeschlimann 9c7a650279 [json] IntelliSense don't work for @angular in package.json. Fixes #24321 2017-11-21 12:52:17 +01:00
Joao Moreno b635672331 remove shrinkwrap references 2017-11-14 10:04:36 +01:00
Joao Moreno 0a8b6fb706 yarn: replace most shrinkwrap files 2017-11-13 23:03:52 +01:00
Abinav Seelan 2a8744fa14 Add logging snippets for Javascript & typescript (#37889) 2017-11-10 11:19:36 -08:00
Martin Aeschlimann 9ecd00dc28 [js] update grammar 2017-11-10 09:19:56 +01:00
Matt Bierner 35f46e131c Use shared snippets for js and jsx, and ts and tsx 2017-11-07 15:03:26 -08:00
Erich Gamma b94569fe0d tslint5 adoption - fix semicolon rule 2017-11-07 12:08:22 +01:00
Matt Bierner f11f9aac5f Enable noImplicitAny and noUnused in js extension 2017-11-06 17:28:34 -08:00
Matt Bierner ae0519c17e Use const where ever possible in JS ext 2017-11-06 14:30:07 -08:00
Matt Bierner 00ca96b766 Fix javascriptmain compile error 2017-11-06 13:32:40 -08:00
Matt Bierner 04ccc517a9 Enable strict mode in JS extension 2017-11-06 11:50:28 -08:00
Matt Bierner d28123cb60 Split some long function sig lines 2017-11-06 11:46:14 -08:00
Matt Bierner d2f1fd4763 Update a few more vars to const in js/ts snippets
Fixes #35322
2017-11-03 09:59:13 -07:00
Matt Bierner b2b952d1d2 Modernize js/ts snippets
Fixes #35322

Also make sures js and jsx / ts and tsx snippets are aligned again
2017-11-02 12:56:34 -07:00
Matt Bierner 989c40066d Fix commenting of jsx attribute using jsx style comments
Fixes #36175
2017-10-13 14:51:04 -07:00
Matt Bierner 9613018ef0 Update ts grammar 2017-10-13 14:46:12 -07:00
Matt Bierner ae20b2073a Make sure we rewrite contentName for jsx grammar 2017-10-12 19:25:15 -07:00
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