-
Notifications
You must be signed in to change notification settings - Fork 203
Deprecated selector in atom-typescript/styles/atomts-grammar-syntax.less
#1108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This message is also showing on my system: Atom: |
Atom |
5 deprecations with atom-typescript 10.1.13 Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors: atom-text-editor::shadow .source.ts .require.path, atom-text-editor::shadow .source.tsx .require.path, atom-text-editor::shadow .source.ts .reference.path, atom-text-editor::shadow .source.tsx .reference.path, atom-text-editor::shadow .source.ts .es6import.path, atom-text-editor::shadow .source.tsx .es6import.path, atom-text-editor::shadow .source.ts .amd.path, atom-text-editor::shadow .source.tsx .amd.path => atom-text-editor.editor .syntax--source.syntax--ts .syntax--require.syntax--path, atom-text-editor.editor .syntax--source.syntax--tsx .syntax--require.syntax--path, atom-text-editor.editor .syntax--source.syntax--ts .syntax--reference.syntax--path, atom-text-editor.editor .syntax--source.syntax--tsx .syntax--reference.syntax--path, atom-text-editor.editor .syntax--source.syntax--ts .syntax--es6import.syntax--path, atom-text-editor.editor .syntax--source.syntax--tsx .syntax--es6import.syntax--path, atom-text-editor.editor .syntax--source.syntax--ts .syntax--amd.syntax--path, atom-text-editor.editor .syntax--source.syntax--tsx .syntax--amd.syntax--path |
Running Atom 1.13.0 and atom-typescript 10.1.13
|
I have the same, running this system: |
I got the same issue for atom-typscript plugin |
I have the same issue for Atom 1.13.1 |
please stop writing "I have the same". In 2017 we have "add reaction" in github. If you wanna subscribe for this thread there is dedicated button for this. // sorry for buzz |
following change worked for me atom version 1.14.0 |
In
atom-typescript/styles/atomts-grammar-syntax.less
:Starting from Atom v1.13.0, the contents of
atom-text-editor
elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using:host
and::shadow
pseudo-selectors, and prepend all your syntax selectors withsyntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:atom-text-editor::shadow .source.ts .require.path, atom-text-editor::shadow .source.tsx .require.path, atom-text-editor::shadow .source.ts .reference.path, atom-text-editor::shadow .source.tsx .reference.path, atom-text-editor::shadow .source.ts .es6import.path, atom-text-editor::shadow .source.tsx .es6import.path, atom-text-editor::shadow .source.ts .amd.path, atom-text-editor::shadow .source.tsx .amd.path
=>atom-text-editor .syntax--source.syntax--ts .syntax--require.syntax--path, atom-text-editor .syntax--source.syntax--tsx .syntax--require.syntax--path, atom-text-editor .syntax--source.syntax--ts .syntax--reference.syntax--path, atom-text-editor .syntax--source.syntax--tsx .syntax--reference.syntax--path, atom-text-editor .syntax--source.syntax--ts .syntax--es6import.syntax--path, atom-text-editor .syntax--source.syntax--tsx .syntax--es6import.syntax--path, atom-text-editor .syntax--source.syntax--ts .syntax--amd.syntax--path, atom-text-editor .syntax--source.syntax--tsx .syntax--amd.syntax--path
atom-text-editor::shadow .source.ts .keyword.debugger, atom-text-editor::shadow .source.tsx .keyword.debugger
=>atom-text-editor .syntax--source.syntax--ts .syntax--keyword.syntax--debugger, atom-text-editor .syntax--source.syntax--tsx .syntax--keyword.syntax--debugger
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.
The text was updated successfully, but these errors were encountered: