Raymond Zhao
50140a53cc
Revert "Fix language-specific tab expansion and polish ( #157035 )" ( #160233 )
...
This reverts commit 9f80085795 .
2022-09-06 15:21:34 -07:00
Raymond Zhao
9f80085795
Fix language-specific tab expansion and polish ( #157035 )
...
* Fix language-specific tab expansion and polish
Fixes #156075
* Add back check
2022-08-03 16:31:19 -07:00
Raymond Zhao
d627aa4606
Emmet: Add back trigger character arguments ( #154940 )
...
Fixes #154375
2022-07-12 09:15:01 -07:00
Raymond Zhao
70738ed4f2
Fix Emmet integration test warning, fixes #152827 ( #152925 )
2022-06-23 06:57:26 -07:00
Raymond Zhao
76f65c4521
Emmet inline completions ( #151559 )
...
Affects #139247
This PR changes Emmet to use inline completions when suggesting completions.
It also provides a boolean setting so that users can opt out.
This PR does not change the "Wrap with Abbreviation" behaviour in Emmet.
Co-authored-by: Henning Dieterichs <notify.henning.dieterichs@live.de >
2022-06-14 08:39:28 +02:00
Johannes
0656d21d11
auto-fixed prefer-const violation
2022-06-08 17:49:21 +02:00
Raymond Zhao
8ba7e14db9
Emmet reduce JSX array noise ( #146757 )
...
Reduce emmet JSX array noise, fixes #138461
2022-04-05 12:20:07 -07:00
tharbakim
fb5e446a3d
Fix detection of CSS Preprocessor Comments at Start of File in Emmet Extension ( #146121 )
...
* Fix for PartialStyleSheet getting stuck in loop
Adds a clause for detecting `//` as a comment marker when working backwards through a file, preventing the parser from getting stuck when the comment starts at 1:1
* Modify change to detect start of file instead of skipping additional `/` characters now that we know the issue only occurs at offset 0.
Co-authored-by: Tyler McEnaney <tharbakim@hotmail.com >
2022-04-04 12:02:15 -07:00
Johannes Rieken
4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
2022-02-02 14:35:33 +01:00
Benjamin Pasero
b9a2191563
files - add a method to generate a random path name ( #139364 )
2021-12-17 11:08:17 +01:00
Raymond Zhao
21e0035bdb
Refresh Emmet updateImageSize tests
...
Fixes #138499
2021-12-07 13:42:20 -08:00
Raymond Zhao
e40596a16c
Skip flaky updateImageSize suite
...
Ref #138499
2021-12-06 12:47:38 -08:00
Raymond Zhao
dd56064202
Fix Emmet removeTag tests
...
Ref https://github.com/microsoft/vscode/issues/138063
2021-11-29 12:09:57 -08:00
Raymond Zhao
bdc04a9b22
Trim inner tag leading and trailing whitespace
...
Fixes https://github.com/microsoft/vscode/issues/138063
2021-11-29 11:24:10 -08:00
Raymond Zhao
db1f865720
Don't use empty lines when counting new indent
...
Polish for https://github.com/microsoft/vscode/issues/138063
2021-11-29 11:24:09 -08:00
Johannes Rieken
edb91ace89
Merge branch 'main' into joh/vscode-dts
2021-11-11 09:30:36 +01:00
Matt Bierner
b911788593
Mark a few more arrays in vscode.d.ts readonly
...
This makes it clear that you can't modify these arrays to add items, such as calling `breakpoints.push(...)` to add a breakpoint
2021-11-10 17:53:27 -08:00
Johannes Rieken
68e819043c
use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files
2021-11-09 15:53:35 +01:00
Johannes Rieken
9254a8cd27
move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165
2021-11-09 15:00:03 +01:00
Alex Dima
a704a69394
Enforce that source code uses a small subset of Unicode
2021-11-03 23:34:41 +01:00
Alex Dima
3247c31f6a
Replace Right Single Quotation Mark with Single Quote
2021-11-03 23:34:40 +01:00
Raymond Zhao
68013971ff
Add language mapping as param to getEmmetMode
...
Fixes #127996
2021-10-11 15:38:12 -07:00
Raymond Zhao
1fff41e37c
Use actual value
...
Fixes #128110
2021-10-08 09:02:18 -07:00
Raymond Zhao
f542a0e83a
Update emmet-helper dependency
...
Fixes #117519
Fixes #131966
2021-10-07 16:30:17 -07:00
Raymond Zhao
f25fd50e22
Add > to Emmet expand suggestions
...
Fixes #120566
2021-10-07 08:34:51 -07:00
Matt Bierner
91132cab87
Use | undefined instead of ? for some readonly properties on objects that we control
...
For #124362
This includes:
- Event objects
- Context objects passed to providers
- Managed objects such as `TextEditor`
2021-10-06 19:08:22 -07:00
Raymond Zhao
665e0adaec
Add update tag placeholder.
...
Fixes #128110
2021-10-06 16:41:17 -07:00
Raymond Zhao
748a753aa0
Don't show completion on comment lines
...
Fixes #117888
2021-10-06 11:24:32 -07:00
Stephen Sigwart
e2dbe9747f
Update select to matching bracket direction
2021-07-17 23:56:38 -04:00
Raymond Zhao
9627b4ea63
Emmet identify CDATA for wrap, fixes #123136
2021-05-20 13:20:50 -07:00
Raymond Zhao
29b9648b3e
Emmet fix #122231
2021-05-03 13:39:38 -07:00
Benjamin Pasero
14981ce89d
tests - enable colors for windows (CI supports it and the new Windows terminal too)
2021-04-19 09:29:20 +02:00
Raymond Zhao
551daf412e
Polish and fix #120245
2021-04-06 10:57:48 -07:00
Liao Jinyuan
80f11080c1
fix get embedded css util ( #120480 )
2021-04-05 09:11:31 -07:00
Raymond Zhao
f3f8d3d870
Fix tests for #120356
2021-04-01 17:11:53 +00:00
Raymond Zhao
083bf90204
JSX self-closing style should default to XHTML, fixes #120356
2021-04-01 16:20:24 +00:00
vinku
a56afa9033
Emmet: Select next/previous item does not work with script tag. ( #118842 )
...
Co-authored-by: Vinay Kumar Sharma <vinakum@microsoft.com >
2021-04-01 08:12:12 -07:00
Sang
595a894b21
Add emmet self closing abbrev support ( #120311 )
2021-04-01 08:11:15 -07:00
Raymond Zhao
6e07fb24ee
Remove unnecessary condition, fixes #119120
2021-03-30 11:45:06 -07:00
Raymond Zhao
9b091c7d22
💄 Emmet tests
2021-03-30 11:30:32 -07:00
Benjamin Pasero
b19f50e016
debt - improve emmet integration tests
...
- properly close all editors
- disable minimap to prevent spammy output
2021-03-29 08:31:14 +02:00
Jean Pierre
c95389a7b2
Fix emmet completions in scss ( #118666 )
...
Part of #112675
2021-03-22 11:42:06 -07:00
Abhijeet Joshi
b81cea2a35
Fix Emmet abbreviation for Handlebars style blocks ( #118832 )
...
Co-authored-by: Abhijeet Joshi <abhjos@microsoft.com >
2021-03-12 11:54:16 -08:00
Raymond Zhao
abf99de040
💄
2021-03-03 23:18:17 +00:00
Raymond Zhao
0a49559a44
Mitigates #118008 , better fix TBD
2021-03-03 04:49:37 +00:00
Hsuan-An Weng Lin
975dfff6db
Emmet: Change the type of emmet extensions path ( #117946 )
...
* Emmet: change extensionsPath input type to string[]
* Emmet: add migration function for old config
2021-03-02 12:14:51 -08:00
Raymond Zhao
8e37e4722e
Fixes #74505 ( #117807 )
2021-03-01 22:06:34 +00:00
ABHIJEET PANDEY
5aeafe2b20
Fix Emmet issue where incorrect abbreviation is displayed in an html document ( #117759 )
2021-03-01 13:26:13 -08:00
Hsuan-An Weng Lin
c30e2d46b2
Fix emmet update extensions path issue ( #117797 )
...
* Emmet: fix unloaded emmetHelper
* Emmet: fix wrong type of error object
2021-03-01 17:52:15 +00:00
Benjamin Pasero
e916637528
tests - enable color output for integration tests
2021-03-01 15:10:15 +01:00