Commit graph

340 commits

Author SHA1 Message Date
Martin Aeschlimann ffd0d963f2 [json] fix for color decorator regex 2017-04-27 22:41:22 +02:00
Martin Aeschlimann 053130ef2a Allow for short hand hex colors. Fixes #25396 2017-04-27 20:33:02 +02:00
Martin Aeschlimann 90a81236cd [json] update service 2017-04-25 23:40:28 +02:00
Ramya Achutha Rao 84af63a933 Increment version of vscode extension telemetry module 2017-04-18 14:46:35 -07:00
Alex Dima aca01f2daa Fix build hygiene issues 2017-04-14 14:08:52 +03:00
Martin Aeschlimann 114160d225 Fix for completionProvider registration in html/json server 2017-04-10 15:14:43 +02:00
Martin Aeschlimann 4c56e61918 Attach languge server: set "protocol": "legacy", 2017-04-06 23:46:35 +02:00
Martin Aeschlimann cfb74af74e launch.json shows stale warnings after deleting/closing. Fixes #23726 2017-04-04 11:34:37 +02:00
Martin Aeschlimann 18affc0b0b [json] update service (fixes NPE in color requestor) 2017-03-30 15:06:52 +02:00
Martin Aeschlimann 252b393776 [json] update service (for #23424) 2017-03-30 09:31:22 +02:00
Martin Aeschlimann 7d63b291cf [json] color decorators 2017-03-27 14:27:10 +02:00
Martin Aeschlimann dc31a48002 [json] enable quick suggestions in strings 2017-03-21 22:48:36 +01:00
Martin Aeschlimann b6b35ea42d [json] support patternErrorMessage for #21384 2017-02-27 10:46:37 +01:00
Martin Aeschlimann 0a246ab31c [json] update service (fixes #21222) 2017-02-23 13:50:36 +01:00
Martin Aeschlimann 3bf7441509 [json] update service (for #21070) 2017-02-22 16:43:25 +01:00
Martin Aeschlimann c504b1d69a [json] update service 2017-02-21 23:23:09 +01:00
kieferrm 3f26922adb upgrade telemetry used by json ext 2017-02-20 20:16:47 -08:00
Martin Aeschlimann 36f2e59ecc [json] update server & client 2017-02-17 18:07:05 +01:00
Martin Aeschlimann 3a311829e4 [json] remove project.json support (for OmniSharp/omnisharp-vscode#1236) 2017-02-16 21:38:55 +01:00
Benjamin Pasero 4d9ee74935 move more into config-editing extension (for #20049) 2017-02-07 16:52:19 +01:00
Benjamin Pasero bcff7c60e5 move window.title config helper out to extension (for #20049) 2017-02-07 12:24:03 +01:00
Benjamin Pasero 29c4e311cd window title: convert variable format from $() to ${} 2017-02-06 14:31:37 +01:00
Benjamin Pasero 693de57e87 Allow to configure title bar information (fixes #1723) (#19932) 2017-02-06 09:50:27 +01:00
Martin Aeschlimann 60bbe61489 [css] change grammar to atom/language-css 2017-01-31 17:10:28 +01:00
Martin Aeschlimann bb18628a66 [json] dynamically enable & disable formatter 2017-01-30 16:32:31 +01:00
Martin Aeschlimann 56d2e439e6 Update jsonc-parser 2017-01-26 11:31:23 +01:00
Martin Aeschlimann c5f8be74bd [json] update service 2017-01-24 00:52:02 +01:00
Martin Aeschlimann c0b1937b47 lamguage servers: Require snippetSupport for completionProvider capability 2017-01-19 20:43:50 +01:00
Martin Aeschlimann 87ae03d980 [json] update dependencies & adopt 2017-01-17 23:09:12 +01:00
Alex Dima 88c45c4e57 Merge remote-tracking branch 'origin/master' into alex/tokenization 2017-01-09 11:19:26 +01:00
Martin Aeschlimann ca0bf48d75 [json] update service 2017-01-07 22:46:23 -04: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
Matt Bierner b2519ad3c9 Add a few casts to work around issues in ts 2.1.4 (#16861) 2016-12-07 13:54:25 -08:00
Martin Aeschlimann aa108953c9 [json] update language service 2016-12-05 17:14:04 +01:00
Martin Aeschlimann 4d8781d17a [json] add server trace option 2016-12-05 17:14:03 +01:00
Martin Aeschlimann 63c369079e [json] updare service & add json schema.deprecationMessage/ enumDescriptions 2016-12-02 22:23:50 +01:00
Martin Aeschlimann c17ebb78c0 [json] update language service 2016-11-30 00:03:25 +01:00
Martin Aeschlimann 5cf9b72417 Merge pull request #16186 from mjbvz/json-setting-localization
Extract Json Extension package.json Strings for Localization
2016-11-29 22:43:46 +01:00
Dirk Baeumer 32192ccfde Fixing alpha versions 2016-11-29 15:31:56 +01:00
Matt Bierner 97a974e1e8 Extract Json Extension package.json Strings for Localization
Closes #16180
2016-11-28 15:09:54 -08:00
Martin Aeschlimann ec45a3a56c [json] wait for onReady before using client 2016-11-28 10:57:22 +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 93c1334282 [json] adopt SnippetString (#15573) and update to TS 2.0 2016-11-25 16:37:56 +01:00
Joao Moreno 2bb3dd5d95 enable duplicate imports tslint rule 2016-11-11 17:02:08 +01:00
Martin Aeschlimann 525332fba5 [json] update language service 2016-11-03 16:59:31 +01:00
Martin Aeschlimann a31bf208c8 onInitialize() should check if params.initializationOptions is null fiixes #12259 2016-10-27 16:47:36 +02:00
Johannes Rieken 2ef658a7c8 format.enable label to informat about required restart 2016-10-24 12:08:57 +02:00
Johannes Rieken e58afe1ab6 Thenable<T> everywhere 2016-10-20 18:30:09 +02:00
Johannes Rieken db48473d51 json.format.enable 2016-10-17 15:25:35 +02:00
Martin Aeschlimann ba055859d1 Update json language service 2016-10-16 23:46:49 +02:00
Johannes Rieken 507b551462 tsfmt - extensions/json/server 2016-10-08 09:32:25 +02:00
Johannes Rieken 7b5a828331 tsfmt - extensions/json/client 2016-10-08 09:31:07 +02:00
Martin Aeschlimann 59c835ff9a Compile issue with new langageclient 2016-09-07 17:17:50 +02:00
Martin Aeschlimann e3ce57ab09 [json] update language service & server & MarkedString escaping fix. Fixes #11413 2016-09-07 16:37:39 +02:00
Andre Weinand 0ba7f55dcc fix typo in 'Capabilities' 2016-09-05 10:36:51 +02:00
Martin Aeschlimann aa4e6e2def [json] update language service 2016-08-31 21:21:16 +02:00
Dirk Baeumer b7ab0e8c90 Fixes #11304: Update node.d.ts for extension to 4.x version to be in line with normal extension development 2016-08-31 12:28:21 +02:00
Martin Aeschlimann 196a3290f0 Update json language service 2016-08-29 15:36:34 +02:00
Martin Aeschlimann 986d842824 [schemas] move schema associations from json to configuration-editing and extension-editing 2016-08-23 14:45:00 +02:00
Martin Aeschlimann 14908e3603 Fixes #9965: Update default project.json TFMs 2016-08-22 14:39:36 +02:00
Martin Aeschlimann fbe40a406a [json] update to latest languageserver 2016-08-12 18:34:35 +02:00
Martin Aeschlimann 11d23f1562 files.associations intellisense does not work within quotation marks. Fxes #10184 2016-08-08 17:33:42 +02:00
Martin Aeschlimann c0ae835786 Update css and json language services to full versions 2016-07-29 10:45:26 +02:00
Martin Aeschlimann 531a56f772 [json] Update language service 2016-07-28 18:50:17 +02:00
Martin Aeschlimann 17e0d1c92d fixes #9907: Intellisense is not working when I type . in settings files 2016-07-28 18:44:28 +02:00
Martin Aeschlimann 09a148d587 [json] update language-service 2016-07-28 14:49:06 +02:00
Martin Aeschlimann 0664d43e92 [json] no problem marker when schema can not be loaded 2016-07-28 14:49:06 +02:00
Martin Aeschlimann 8d28c302ab [json] Update language service 2016-07-28 10:29:56 +02:00
Martin Aeschlimann 4b0c647c00 Update json language-service 2016-07-27 18:20:52 +02:00
Martin Aeschlimann 5e207a1dd7 [json] word pattern to match full string and number literals 2016-07-27 15:45:36 +02:00
Martin Aeschlimann da7264c5b3 [json] set filter text for all property proposals 2016-07-27 15:45:36 +02:00
Martin Aeschlimann 94a0fdebb2 Update cs & json to latest languageservice 2016-07-25 18:38:24 +02:00
Martin Aeschlimann c1cea95bca Update json-languageservice 2016-07-25 16:43:33 +02:00
Martin Aeschlimann a038ad1d11 [json] set trigger characters 2016-07-25 09:27:24 +02:00
Martin Aeschlimann 4a13944af6 Migrate all other languages to language-configuration.json 2016-07-21 20:30:37 +02:00
Martin Aeschlimann e7ae751e50 Migrate JSON to language-configuration 2016-07-21 19:54:03 +02:00
Martin Aeschlimann c04f01e60c Add schema for language-configuration.json 2016-07-21 19:49:43 +02:00
Martin Aeschlimann 349c4ddf60 [json] hover in JSON documents hides '*', fixes #8068 2016-07-20 16:29:31 +02:00
Martin Aeschlimann 05393cf9f3 [json] User defined schemas without file association are not picked up 2016-07-11 11:43:36 +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
Johannes Rieken 7cb8e4514e remove autoClosingPairs, surroundingPair in favour of deprecated api and language config file, fixes #8737 2016-07-06 15:42:53 +02: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
isidor f32b435e6d Add npm-shrinkwrap.json for css, json, php
#8570
2016-07-01 09:52:48 +02:00
Martin Aeschlimann dd32bd644a JSON seems to keep diagnostics around when document closes, fixes #5769 2016-06-29 20:22:19 +02:00
Martin Aeschlimann 96452b48e7 Do not rely on codeSnippet for filtering fixes #6620 2016-06-27 22:39:21 +02:00
Martin Aeschlimann e228769042 Polish configuration section labels & add link 2016-06-27 18:37:04 +02:00
Martin Aeschlimann 10146b8e2f [json] use vscode-json-languageservice 2016-06-26 23:49:47 +02:00
Alex Dima be7f2e237f Remove MirrorModelEmbedded as it is no longer used 2016-06-25 11:21:55 +02:00
Cătălin Mariș 9358d513f8
Treat .webmanifest files as JSON
Web App Manifest files (having `webmanifest`¹ as the recommended
file extension and `application/manifest+json`¹ as the recommended
media type) use the JSON² format.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

¹ https://w3c.github.io/manifest/#media-type-registration
² https://w3c.github.io/manifest/#abstract

See also: https://w3c.github.io/manifest/
2016-06-22 22:48:31 +03:00
Martin Aeschlimann e520a4208b fixes #7730: [json] Referencing **local** JSON schema from another local schema 2016-06-16 15:57:06 +02:00
Martin Aeschlimann 1ddee875cc extract jsonLangaugeService 2016-06-15 09:33:13 +02:00
Martin Aeschlimann 573844e49a Update to latest jsonc-parser 2016-06-15 09:33:13 +02:00
Martin Aeschlimann 966cb81e0a [json] name & test polishes 2016-06-13 11:30:19 +02:00
Martin Aeschlimann 67fe4d8b60 [json] rename server to jsonServerMain 2016-06-09 09:31:03 +02:00
Martin Aeschlimann f7ed34859a Update JSON service to latest vscode-languageserver 2016-06-03 14:49:39 +02:00
Martin Aeschlimann fb4d59aa39 fixes #6974: [json] $schema attribute - strange path resolution behavior when referencing local schema file 2016-05-30 17:16:38 +02:00
Martin Aeschlimann 1e099735a6 fixes #6976: [json] Modifying a JSON Schema file requires a restart of VS code to pick up the changes 2016-05-30 16:27:39 +02:00
Martin Aeschlimann a8eadbd8d4 Clean up __characterPairSupport, fixes #6889 2016-05-30 10:12:13 +02:00
Marvin Hagemeister 3edd29e801 Add .babelrc to json mimetype 2016-05-25 16:08:10 +02:00
Martin Aeschlimann 2f79748ba0 Avoid 'text' item kind 2016-05-22 16:33:29 +02:00
Martin Aeschlimann 39c835a56c fixes #5981: [json] accept empty keybindings.json file 2016-05-10 15:10: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
Joao Moreno 6ecacf4164 fix bad npm call 2016-04-28 17:30:20 +02:00
Martin Aeschlimann fc59387aba fixes #5269: [json] "Format Code" folds braces into preceding comments. 2016-04-22 15:57:11 +02:00
Martin Aeschlimann 42a2cd5665 fixes #5334: [json] swagger 2.0 json schema not working for intellisense in visual studio code 2016-04-21 20:10:27 +02:00
Martin Aeschlimann 6e8f659617 update to jsonc-parser 0.2.0 2016-04-20 14:07:50 +02:00
Dirk Baeumer ed3a686a47 Move schema registration to json/package.json file. 2016-04-20 10:53:36 +02:00
Yuki Ueda 466f11d631 add remove calc 2016-04-20 14:33:56 +09: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 f67fc605ca JSON parser: getLocation 2016-04-14 21:44:20 +02:00
Martin Aeschlimann 37f5e2b355 [colorize tests] update test result data 2016-04-11 21:28:19 +02:00
Martin Aeschlimann 24dfa08f6f Theme tests as extension test 2016-04-08 23:26:12 +02:00
Benjamin Pasero cc3b457dd9 [loc][Query][DevDiv] Typo in source "id" (fixes #4897) 2016-04-04 16:25:05 +02:00
Martin Aeschlimann c6186a2d9d Setup php extension debugging 2016-03-16 12:29:40 +01:00
Benjamin Pasero 81c4ddb3c1 fix intellisense to make clear that "file path to language association" needs absolute path (fixes #4195) 2016-03-15 11:37:54 +01:00
Martin Aeschlimann 80bd73b513 Fixes #3952 [json] Add telemetry event when user edit a json file for Azure RM. 2016-03-11 23:31:23 +01:00
Sofian Hnaide 7549af87c8 adding telemetry to json extension 2016-03-11 11:41:19 -08:00
Alex Dima 0f45852387 Add helpful error messages to deprecated "auto" values in editor.tabSize and editor.insertSpaces 2016-03-09 11:48:40 +01:00
Dirk Baeumer ec3c8c3be4 Fixes #3824: NLS build has an issue with \' in string 2016-03-09 09:58:15 +01:00
Martin Aeschlimann 5edbf8a1b1 JSON schema test commented out due to NLS issue (#3824) 2016-03-08 10:50:49 +01:00
Martin Aeschlimann de05781729 Tweek JSON Schema contributions test 2016-03-08 10:22:11 +01:00
Benjamin Pasero bc942c72cb improve snippet for file association 2016-03-05 14:58:49 +01:00
Benjamin Pasero 0c463fcbce Merge branch 'master' into ben/associations 2016-03-04 17:40:04 +01:00
Benjamin Pasero 3041b376a0 have intellisense for modes 2016-03-04 17:36:31 +01:00
Martin Aeschlimann 3c3de953da [josn-server] remove typescript and mocha as dev dependencies 2016-03-04 17:06:50 +01:00
Joao Moreno a934234261 fix build 2016-03-04 16:04:45 +01:00
Benjamin Pasero 3ff5de1e0a Merge branch 'master' into ben/associations 2016-03-04 15:57:04 +01:00
Joao Moreno 5e6427711e remove console.log 2016-03-04 15:53:04 +01:00
Joao Moreno 12d7f996b6 remove hardcode extensions dependencies 2016-03-04 15:48:57 +01:00
Martin Aeschlimann 46657ddea7 [json] fix sourcemaps 2016-03-04 15:22:32 +01:00
Benjamin Pasero 932e8637c1 association => associations 2016-03-04 10:37:41 +01:00
Martin Aeschlimann 14fea843f8 [json] adopt npm scripts 2016-03-04 10:33:25 +01:00
Benjamin Pasero 230b27e889 first version of a new setting to associate file patterns to languages 2016-03-04 10:32:37 +01:00
Joao Moreno b07b57cc0e gulpfile.extensions refactor 2016-03-04 09:27:27 +01:00
Dirk Baeumer 5354309a24 Converted json extension to new vscode-nls npm module 2016-03-03 16:54:36 +01:00
Martin Aeschlimann 63c9d46cde Fixes #3204: [json] project.json intellisense broken due to server change 2016-03-03 16:09:26 +01:00
Alex Dima 18c4629511 Rename gulp tasks around extensions 2016-03-01 11:40:18 +01:00
Alex Dima 1a97264011 gulpfile.plugins -> gulpfile.extensions 2016-03-01 11:40:17 +01:00
Alex Dima 58c1cdd3eb php extension compiles to commonjs 2016-03-01 11:40:14 +01:00
Martin Aeschlimann f0c6ccccce Fixes #3494: [snippets] [debt] don't allow snippet syntax in default values 2016-02-29 22:30:11 +01:00
Joao Moreno 89b641e269 fix build: json server super call 2016-02-23 08:53:32 +01:00
Martin Aeschlimann c93de7a171 Fixes #2995 [json] [0.10.8] Wrapping JSON with double quotes replaces the text 2016-02-22 10:29:35 +01:00
Joao Moreno cdf2a79021 💄 tshint 2016-02-16 18:10:33 +01:00
Alex Dima 021995c100 tslint 2016-02-13 00:10:18 +01:00
Alex Dima d27f694455 tslint 2016-02-12 17:29:34 +01:00
Joao Moreno 98b3482a49 tslint 💄 2016-02-12 17:20:07 +01:00
Martin Aeschlimann b7e6e6fae7 [json] better support for null, and array of types 2016-02-10 14:04:54 +01:00
Martin Aeschlimann ac75d8060c Fixes #2638: [json] intellisense eats colon 2016-02-04 13:58:05 +01:00
Martin Aeschlimann 539f53c58d Fixes #2502: [json] JSON '.' closes intelli-sense widget 2016-02-01 10:57:27 +01:00
Martin Aeschlimann 69dfecdbe4 Allow custom error messages for regex issues 2016-01-28 17:25:35 +01:00
Martin Aeschlimann 5168697dfd Fixes #2324: [json] Inline schema in settings don't work 2016-01-28 17:18:45 +01:00
Martin Aeschlimann 0c72437701 json package.json: Use tabs instead of spaces 2016-01-28 17:18:45 +01:00
Martin Aeschlimann ead959c5d4 Fixes #2328: [json] No code assist in schema property in settings.json 2016-01-28 17:18:44 +01:00
Martin Aeschlimann 5785cf462e Fixes #2365: [json] JSON could complete identifier with quotes 2016-01-28 17:18:43 +01:00
Martin Aeschlimann 706413e537 Test fixes for #2468 2016-01-28 17:18:43 +01:00
Martin Aeschlimann cfa2dd25e0 FIxes #2468: [json] Intellisense Provides Strange Suggestions In Property Value 2016-01-28 16:17:02 +01:00
Martin Aeschlimann 4b642223ae [json] enable opening json extension on folder 2016-01-28 15:40:36 +01:00
Martin Aeschlimann ac5c3aa7b8 Fixes #2342: [json] JSON suggestion completed incorrectly 2016-01-28 15:40:35 +01:00
Martin Aeschlimann dc8b138e39 [json] consume 1.3.1 of language-server & client 2016-01-28 15:40:34 +01:00
Martin Aeschlimann db40c87ba8 Fixes #2446: [json] Unable to load schema jsconfig.schema.json 2016-01-28 10:59:15 +01:00
Martin Aeschlimann e75c630aff Fixes #2388 [json] Completing a JSON suggestion enters snippet mode 2016-01-27 11:40:12 +01:00
Martin Aeschlimann 4c6534ebc6 [json] update proxy on settings update 2016-01-26 09:56:43 +01:00
Martin Aeschlimann 9443432459 [json] fix for contributed schemas located inside extensions 2016-01-26 09:48:45 +01:00
Martin Aeschlimann 63bbc4ea27 Fix tslint warnings in json extension 2016-01-26 09:43:21 +01:00
Martin Aeschlimann 9f7632cc23 Support isIncomplete form completion results 2016-01-25 22:01:17 +01:00
Martin Aeschlimann e57f5f4078 Fix createHover 2016-01-25 22:00:35 +01:00
Martin Aeschlimann 210738c61d Remove console.log from server.ts 2016-01-25 21:28:17 +01:00
Martin Aeschlimann 7a8fed4c39 Send proxy information 2016-01-25 17:43:18 +01:00
Martin Aeschlimann 0587f20cd7 JSON completion contributors 2016-01-25 14:46:25 +01:00
Martin Aeschlimann 9aa135b2ab Use 'next' version of language server/client 2016-01-24 18:08:49 +01:00
Martin Aeschlimann 67e4daf06b Fix to use vscode scheme 2016-01-23 21:17:22 +01:00
Martin Aeschlimann 0a1ed45811 Support %APP_SETTINGS_HOME% in jsonValidation paths 2016-01-23 21:17:00 +01:00
Martin Aeschlimann c3abc6760f Use 'vscode' URI for keybinding schema and default doc 2016-01-23 21:10:39 +01:00
Martin Aeschlimann 0b66ccdfa9 jsonValidation contributions for setting schemas 2016-01-23 21:07:51 +01:00
Martin Aeschlimann 8bccda9e42 Remove linesModel, use new APIs 2016-01-22 17:33:02 +01:00
Martin Aeschlimann 2747ebef95 Correct test fixture path 2016-01-22 17:23:02 +01:00
Martin Aeschlimann a0a3db9290 More Thenables and polish 2016-01-22 17:19:33 +01:00
Martin Aeschlimann 5fb37d3119 send schema associations configured by extensions 2016-01-22 17:12:31 +01:00
Martin Aeschlimann a351055049 SchemaService: Use Thenable in signatures 2016-01-22 15:17:29 +01:00
Martin Aeschlimann ea0e5bbae7 [json] rename server/src/tests to test 2016-01-21 22:49:05 +01:00
Martin Aeschlimann 078ac32d73 [json] add json.configuration 2016-01-21 22:47:56 +01:00
Martin Aeschlimann 817f3f5919 [json] language server & client as extension 2016-01-21 22:19:39 +01:00
Martin Aeschlimann 736ff0bd99 [json] move schema associations to extensions 2015-12-09 23:40:36 +01:00
Martin Aeschlimann f924875c00 [json] improve text mate tokenizer, enable as default 2015-11-25 12:01:09 +01:00
Martin Aeschlimann c37136730f [json] 'JSON with comments' text mate bundle 2015-11-25 11:11:17 +01:00
Martin Aeschlimann 4163a8dcd5 [json] add tm grammer, not yet enabled 2015-11-24 17:06:58 +01:00