Commit graph

366 commits

Author SHA1 Message Date
Martin Aeschlimann a6db6bb440 HTML format selection formatting entire line issue. Fixes #25521 2017-04-28 09:58:23 +02: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
Martin Aeschlimann 2c70320d48 [html] update html grammar 2017-04-25 23:40:28 +02:00
Martin Aeschlimann 0a760c70c2 [html] update service 2017-04-24 10:07:51 +02:00
Martin Aeschlimann d02567a2e4 [css] update service 2017-04-21 20:17:40 +02:00
Martin Aeschlimann ef9e03c8ad [html] Format onPaste issues with HTML. Fixes #21218 2017-04-21 13:59:53 +02:00
Martin Aeschlimann 485bd40c3f fix html formatting test lint warnings 2017-04-21 11:00:09 +02:00
Martin Aeschlimann 9dfd573e87 fix html test 2017-04-21 10:58:40 +02:00
Martin Aeschlimann bfc4e3d780 [html] support for base url. Fixes #20729 2017-04-19 19:38:44 +02:00
Ramya Achutha Rao 84af63a933 Increment version of vscode extension telemetry module 2017-04-18 14:46:35 -07:00
Martin Aeschlimann c974993981 [css] update service. Fixes #22735 2017-04-18 09:54:21 +02:00
Magnus Hiie 95f0c15bf5 Expose insert..Braces rule in VS Code settings (#21649)
* Expose insert..Braces rule in VS Code settings

Fixes #18043

* Add requirement blurb for insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces

* Revert tsfmt change
2017-04-13 16:35:40 -07: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 1242ff5751 [html] Formatting JavaScript placed after div elements inside html file adds 12 extra tabs. Fixes #23063 2017-03-27 23:14:47 +02:00
Martin Aeschlimann b266419e6e Automatically detect .ejs templates (and other common template extensions) as HTML file. Fixes #22333 2017-03-17 19:32:05 +01:00
Martin Aeschlimann b9e96da4ef [html] update service for #21717 2017-03-03 13:57:22 +01:00
Martin Aeschlimann 3c0ac99311 stale color box when switching languages. Fixes #21108 2017-02-22 22:37:55 +01:00
Martin Aeschlimann f1a1fd24c1 [css] Setting to hide CSS Color preview boxes. Fixes #10943 2017-02-22 00:51:27 +01:00
Martin Aeschlimann 9e5eab91b5 [html] update formatter (fixes #20844) 2017-02-21 16:38:24 +01:00
Martin Aeschlimann 279256887b [html] add document symbols. Fixes #20956 2017-02-21 14:52:15 +01:00
kieferrm ccefc7747a upgrade telemetry used by html ext 2017-02-20 20:17:07 -08:00
Martin Aeschlimann 74a6d6d423 fix tests for #20610 2017-02-20 17:34:05 +01:00
Martin Aeschlimann 813db38907 Merge pull request #20610 from rebornix/HTMLGrammar
correct boundary for embedded languages in HTML
2017-02-20 17:22:02 +01:00
Martin Aeschlimann 2fe6ff47e5 remove vue from html associations (recommend vetur) 2017-02-20 15:48:25 +01:00
Martin Aeschlimann 763eefdd37 [html] update servers & clients 2017-02-17 19:41:32 +01:00
Martin Aeschlimann eb4213221d [html] intellisense for dom types missing 2017-02-17 19:41:32 +01:00
Martin Aeschlimann 740799fb53 Opening from command-line in empty folder creates debug.log file. Fixes #20325 2017-02-16 16:15:35 +01:00
rebornix a3af133211 correct boundary for embedded languages in HTML 2017-02-14 10:56:30 -08:00
Matt Bierner 7f8173680f Use @types a few more places (#20159) 2017-02-07 18:16:19 -08:00
Martin Aeschlimann bf3cfd9dd5 Format Document Completely breaks code!!!. Fixes #19813 2017-02-06 12:54:38 +01:00
Martin Aeschlimann d7382f0d55 html.format.wrapAttributes: value is "force-aligned", not "force-align". Fixes #19849 2017-02-03 16:06:33 +01:00
Martin Aeschlimann 60bbe61489 [css] change grammar to atom/language-css 2017-01-31 17:10:28 +01:00
Martin Aeschlimann 762a189993 [html] disable formatter for cshtml. Fixes #19206 2017-01-30 16:32:30 +01:00
Joao Moreno ff61866495 html: remove @types shrinkwrapping 2017-01-26 15:43:15 +01:00
Martin Aeschlimann fc44b4f083 SCSS differences in coloring. Fixes #19289 2017-01-25 17:21:33 +01:00
Martin Aeschlimann 3880d0cc3d [html] update services 2017-01-24 00:51:22 +01:00
Dirk Baeumer bf89d878d8 Removed <DiagnosticSeverity> cast 2017-01-20 21:21:24 +01:00
Martin Aeschlimann 9b47ab5339 [handlebars] validation issue in Handlebars file. Fixes #18777 2017-01-19 21:12:49 +01:00
Martin Aeschlimann c0b1937b47 lamguage servers: Require snippetSupport for completionProvider capability 2017-01-19 20:43:50 +01:00
Martin Aeschlimann 3358b26968 [html] improve color decorator updating 2017-01-19 16:41:54 +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
Martin Aeschlimann 410cae8fb5 [html] update client dependencies + migrate 2017-01-17 23:09:11 +01:00
Martin Aeschlimann 54a383e1a2 [html] update server dependencies, migrate 2017-01-17 23:09:10 +01:00
Martin Aeschlimann 6d906aef32 documentLinkProvider should return an object (for #17289) 2017-01-09 23:17:29 -04:00
Martin Aeschlimann 5df445b978 Cannot read property 'length' of undefined. Fixes #18293 2017-01-09 22:47:43 -04:00
Alex Dima 88c45c4e57 Merge remote-tracking branch 'origin/master' into alex/tokenization 2017-01-09 11:19:26 +01:00
Martin Aeschlimann c53041b780 [html] update jsbeautify (for #2204) 2017-01-07 23:44:02 -04:00
Martin Aeschlimann be716e241f [html] attribute on separate line formatting. Fixes #2204 2017-01-07 22:48:35 -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
Martin Aeschlimann 939f0876c9 [html] setting to disable script & style validation 2017-01-03 20:37:48 -04:00
Martin Aeschlimann 420de32d3c [html] can not disable angular proposals anymore 2017-01-03 20:37:47 -04:00
Martin Aeschlimann e9f15e6495 [html] indentation after scripts broken 2017-01-03 20:37:47 -04:00
Martin Aeschlimann e44f169c48 Associate .phtml with php again (revert of #17099) 2016-12-13 12:11:55 +01:00
Frank Yuan c05f4f466d Update package.json
add .vlot and .phtml extensions
2016-12-13 11:46:53 +08:00
Martin Aeschlimann b38a82cca7 [html] script end tag is not correctly indented. Fixes #16650 2016-12-08 12:29:46 +01:00
Martin Aeschlimann 8eb0cce438 html.format.unformatted does not respect scripts. Fixes #16634 2016-12-07 19:32:12 +01:00
Martin Aeschlimann aba60c3d95 CSS intellisense doesn't work in incomplete style block . Fixes #16651 2016-12-07 17:21:58 +01:00
Martin Aeschlimann 7469dc1e5e [html] update language services 2016-12-07 15:39:22 +01:00
Martin Aeschlimann bdf362a9c9 [html] update launch.json to outFiles 2016-12-05 17:16:33 +01:00
Martin Aeschlimann 30835e65a8 [html] add server trace option 2016-12-05 17:14:03 +01:00
Martin Aeschlimann 2658911aff [html] fix compile error in tests 2016-12-05 11:44:41 +01:00
Martin Aeschlimann 3b72900e21 html language server breaks js auto completion if imports are used. Fixes #16426 2016-12-05 11:18:15 +01:00
Martin Aeschlimann ff95c2db18 Links no longer clickable in HTML. Fixes #16376 2016-12-03 08:32:01 +01:00
Martin Aeschlimann 172184c86f HTML files: curly braces, brackets, and parens do not wrap a selection. Fixes #16408 2016-12-03 08:19:18 +01:00
Martin Aeschlimann a29692641d [html] telemetry for completion in embedded content 2016-12-01 17:14:20 +01:00
Martin Aeschlimann cdc432d939 HTML Server crashes fixes #16314 2016-12-01 09:45:56 +01:00
Matt Bierner 9012c8be31 Extract settings strings in html extension (#16183)
Closes #16178
2016-11-29 10:23:13 -08:00
Dirk Baeumer 32192ccfde Fixing alpha versions 2016-11-29 15:31:56 +01:00
Martin Aeschlimann a603e8a765 [html] wait for onReady before using client 2016-11-28 10:57:21 +01:00
Martin Aeschlimann f37a51537b [html] adopt SnippetString (#15573) and update to TS 2.0 2016-11-24 18:42:39 +01:00
Martin Aeschlimann 520fb13462 [html] errors in attributes on missing semicolons and parens. Fixes #15970 2016-11-23 19:41:36 +01:00
Martin Aeschlimann 0a60061ce7 [html] fix tests 2016-11-23 19:40:56 +01:00
Martin Aeschlimann 224572723b [html] symbol information for embedded CSS and JS 2016-11-23 17:36:52 +01:00
Martin Aeschlimann fee99086fb [html] offer JQuery intellisense 2016-11-23 16:35:51 +01:00
Martin Aeschlimann 1c4e72aa68 share TypeScipt node_module amongst extensions 2016-11-23 16:35:50 +01:00
Martin Aeschlimann 03d9bb3a5d [html] fix for embedded css, stackoverflow 2016-11-22 20:26:23 +01:00
Martin Aeschlimann 8efb9e68d0 [html] refactor and simplify embeddedSupport 2016-11-22 16:59:00 +01:00
Martin Aeschlimann 287a5deb91 [html] embedded css/javascript in attribute values 2016-11-21 17:03:11 +01:00
Martin Aeschlimann cbdddca5ed [html] Format embedded JavaScript 2016-11-18 16:56:16 +01:00
Martin Aeschlimann d72fd136ca [html] update server & client libraries, add SnippetString 2016-11-18 10:27:28 +01:00
Martin Aeschlimann 935027dc19 [html] resolve JS completion proposals 2016-11-16 16:04:33 +01:00
Martin Aeschlimann 03813455b7 [html] add embedded JavaScript support 2016-11-16 10:58:52 +01:00
Martin Aeschlimann 8a85fc0399 [html] add css support to html extension as library 2016-11-14 11:34:54 +01:00
Martin Aeschlimann 332fd57d3f Fix for source maps in extensions 2016-11-14 11:34:53 +01:00
Martin Aeschlimann a79ebfdb0c Error message interrupt and frustrate. Fixes #15018 2016-11-09 16:36:19 +01:00
Martin Aeschlimann 594d243a1a [html] <pre> element should be formatted like <code> in editor, not like <p>. Fixes #15164 2016-11-08 14:46:03 +01:00
Martin Aeschlimann 603bf23f4a [html] remove console.log 2016-10-28 10:38:23 +02:00
Martin Aeschlimann 47a79e95c4 [ts] update grammar 2016-10-27 16:39:46 +02:00
Alex Dima 80cbf2e25e Fixes #14552: Introduce embeddedLanguages in grammars extension point and adopt it for html and php 2016-10-27 14:57:25 +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 3d6c220d24 CSS autocomplete in html files not working on Windows.Fixes #14467 2016-10-26 12:33:29 +02:00
Martin Aeschlimann 7bdc667cd4 Change HTML grammar to be more precise (embedded modes). fixes #14295 2016-10-24 23:19:07 +02:00
Martin Aeschlimann 2df11a3136 [html][css] diagnistics for embedded content 2016-10-24 15:26:48 +02:00
Johannes Rieken 2ef658a7c8 format.enable label to informat about required restart 2016-10-24 12:08:57 +02:00
Martin Aeschlimann e7a9f820ad [html] only enable embedded content support on demand 2016-10-21 22:33:54 +02:00
Martin Aeschlimann 1b2478dd2b [html] add hover for tags and embedded css 2016-10-21 22:02:43 +02:00
Martin Aeschlimann 893ced4314 [html] embedded content documents updating, refactoring 2016-10-21 22:02:42 +02:00
Johannes Rieken e58afe1ab6 Thenable<T> everywhere 2016-10-20 18:30:09 +02:00
Martin Aeschlimann eec57b4f9d [html] filter empty lines in virtual documents 2016-10-20 14:24:23 +02:00
Martin Aeschlimann f3f5435195 [html] completion proposals for embedded CSS (for #8928) 2016-10-20 10:58:29 +02:00
Martin Aeschlimann 24380045bc Test for #12750 (Fixes #12895) 2016-10-18 17:58:30 +02:00
Johannes Rieken 262b398026 Merge pull request #13880 from Microsoft/joh/fmtconfig
enable/disable toggles for default formatters
2016-10-17 17:04:32 +02:00
Johannes Rieken 2d9d187f5b html.format.enable 2016-10-17 15:30:11 +02:00
Martin Aeschlimann 1c90acd7f2 Merge pull request #13884 from Microsoft/aeschli/typescript-grammar-update
Typescript grammar update
2016-10-17 15:03:07 +02:00
Martin Aeschlimann f38751b6d3 [ts] color object literal keys 2016-10-17 14:49:59 +02:00
Martin Aeschlimann d91a9296bb Incorrect coloring of HTML elements containing hyphens. Fixes #13448 2016-10-17 12:57:54 +02:00
Martin Aeschlimann 2e76f1d58e CTRL + Click on link in script:src or link:href can't find the file. Fixes #13688 2016-10-16 23:43:34 +02:00
Martin Aeschlimann cf02de829d [html] Format document create tab identities. Fixes #13563 2016-10-16 22:03:50 +02:00
Martin Aeschlimann 073c6d04e9 [themes] add support.function 2016-10-14 18:02:14 +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 de957293de [ts] upate grammar, remove meta scopes 2016-10-14 10:13:51 +02:00
Martin Aeschlimann d34c873db7 HTML word definition changed. Fixes #13675 2016-10-13 16:53:28 +02:00
Martin Aeschlimann 07bbf8bb4e [html] update languageservice. Fixes #12954 2016-10-11 11:48:19 +02:00
Johannes Rieken 1ea464363c tsfmt - extensions/html/server 2016-10-08 09:28:50 +02:00
Johannes Rieken 48ac631f65 tsfmt - extensions/html/client 2016-10-08 09:28:09 +02:00
Erich Gamma cc3e8bb029 Fix for #12977 2016-09-29 21:21:05 +02:00
Erich Gamma 8a6ba3b28b Fix for @12195 Adding a div causes an extra stray bracket in Razor 2016-09-29 14:34:40 +02:00
Benjamin Pasero f6d0cc1645 fixes #12757 2016-09-28 10:37:54 +02:00
Martin Aeschlimann 7465d39c5c [html] htmlDocument cache 2016-09-19 13:36:43 -04:00
Martin Aeschlimann 590b5c5ec6 [html] update language service 2016-09-19 13:15:56 -04:00
Martin Aeschlimann 83b4816f77 [html] update language service 2016-09-15 22:25:49 +02:00
Martin Aeschlimann 8f6caf1f9f [html] add shrinkwrap 2016-09-15 20:32:12 +02:00
Martin Aeschlimann 23242b4389 [html] update language service 2016-09-15 20:32:11 +02:00
Martin Aeschlimann 2db3796f65 [html] Comment shortcut (Cmd + /) stopped working in HTML. fixes #12083 2016-09-15 20:32:10 +02:00
Martin Aeschlimann 8d6a8863fd [html] use html language service 2016-09-14 23:36:09 +02:00
Martin Aeschlimann acc4e94ee6 [html] fix failing test 2016-09-14 23:14:16 +02:00
Martin Aeschlimann 04f9562a1a [html] code polish 2016-09-14 19:50:24 +02:00
Martin Aeschlimann e69fb28130 [html] update language server for document link support 2016-09-14 19:42:09 +02:00
Martin Aeschlimann 2a4e5b023d [html] add razor 2016-09-14 16:39:14 +02:00
Martin Aeschlimann 6d788bff70 [html] bring back provider configuration settings 2016-09-14 16:27:53 +02:00
Martin Aeschlimann cf1596c6f0 [html] close tag fix 2016-09-14 11:16:13 +02:00
Martin Aeschlimann b66b9871a0 [html] enable handlebars 2016-09-14 11:11:45 +02:00
Martin Aeschlimann fa30ab77ef [html] update html grammar & tests 2016-09-14 11:09:24 +02:00
Martin Aeschlimann daad014a6f [html] add handlebars 2016-09-14 09:49:40 +02:00
Martin Aeschlimann 1f6815a880 [html] get all link tests to run 2016-09-14 08:48:03 +02:00
Martin Aeschlimann 8d7504f7e1 [html] add link provider 2016-09-13 23:27:18 +02:00
Martin Aeschlimann 99ebc3065a [html] symbol highlighting tests 2016-09-13 22:12:48 +02:00
Martin Aeschlimann 537938619a [html] avoid merge conflict 2016-09-13 16:58:13 +02:00
Martin Aeschlimann 6c8a859079 [html] add symbol highlighting 2016-09-13 10:03:41 +02:00
Martin Aeschlimann 06727ce174 [html] add endTagStart to Node 2016-09-13 10:03:12 +02:00
Martin Aeschlimann 49dfae7e00 [html] add formatter 2016-09-09 15:26:03 +02:00
Martin Aeschlimann bb9a0f89ad [html] all code completion tests green 2016-09-08 19:05:17 +02:00
Martin Aeschlimann 9717f397f5 [html] use NodeJS.Timer 2016-09-08 19:03:31 +02:00
Martin Aeschlimann d7bc41b908 [html] update language server version 2016-09-08 19:03:05 +02:00
Martin Aeschlimann 606bfe603d HTML completion tests 2016-08-29 10:36:23 +02:00
Martin Aeschlimann 4e181e8fd2 HTML code completion 2016-08-25 15:46:59 +02:00
Martin Aeschlimann be7e03f74f Better names for scanner states 2016-08-25 12:00:12 +02:00
Martin Aeschlimann 8b5413e6b8 scanner: set initial offset 2016-08-25 12:00:11 +02:00
Martin Aeschlimann 5c4f879b89 change scanner API from class to functional style 2016-08-25 12:00:11 +02:00
Martin Aeschlimann 5d8e0b6185 HTML parser with tests 2016-08-25 12:00:11 +02:00
Martin Aeschlimann 9c7306d1cf HTML parser with tests 2016-08-24 23:13:20 +02:00
Martin Aeschlimann 7409724477 Token names renames and splitting up. 2016-08-24 09:46:49 +02:00
Martin Aeschlimann cb5a6e77db Move html extension: setup & scanner 2016-08-17 11:37:22 +02:00
Yuki Ueda 6c3c3d3812 fix #6290 2016-05-12 19:30:35 +09:00
Martin Aeschlimann 976d582504 #5221 [html] attribute values should not need to be quoted to be highlighted - test 2016-04-25 13:02:55 +02:00
Martin Aeschlimann 37f5e2b355 [colorize tests] update test result data 2016-04-11 21:28:19 +02:00
Martin Aeschlimann e475fdebcc [html/razor/handlebars/xml] colorizer tests 2016-04-11 16:03:38 +02:00
Daniel Imms 2212fbbb6c Add application/xhtml+xml as a HTML mimetype
Related #3521
2016-02-29 15:29:03 -08:00
Daniel Imms 98e9498df5 Associate .xhtml with HTML language mode
Fixes #3521
2016-02-27 21:39:21 -08:00
Martin Aeschlimann b1014464c3 [html] Please provide a built-in HTML.tmLanguage file #543 2015-12-03 10:25:42 +01:00
Martin Aeschlimann d7214d7013 [html] Please provide a built-in HTML.tmLanguage file #543 2015-12-02 17:43:33 +01:00
Martin Aeschlimann 1b72099996 [html] Please provide a built-in HTML.tmLanguage file #543 2015-12-02 17:41:25 +01:00
Erich Gamma 8f35cc4768 Hello Code 2015-11-13 14:39:38 +01:00