Comments (10)
I'm also seeing this in the updated Maven POM Editor if I just wait for a few moments with the cursor at the end of the start tag's name.
from lsp4e.
I'm also seeing this in the updated Maven POM Editor if I just wait for a few moments with the cursor at the end of the start tag's name.
It is a problem with linked editing range. For XML (LemMinx it should be fixed with eclipse/lemminx#1188) Once WWD will use last version of lemMinx, this error should disapear.
For HTML, it requires that vscode html language server written in TypeScript do the same fix than XML.
from lsp4e.
@r6squeegee Could you please try updating LSP4E from a latest snapshot - http://download.eclipse.org/lsp4e/snapshots/ - this should allow the linked editing to happen only for the element names, not the following attributes.
from lsp4e.
Could not reproduce with latest snapshots of LSP4E. Please reopen with details to reproduce if issue persists on your end.
from lsp4e.
Fix is a427c47
from lsp4e.
Are you sure that it is fixed for HTML? If yes it means HTML LS generate the same linked editing range than XML (which is fixed).
from lsp4e.
it works for me
thanks!
from lsp4e.
I think there might be a missed case in this fix.
It still happens on paste, i.e.
type:
<div></div>
and have
style="text-align:left"
in your clipboard, move the cursor back to the div tag and press paste, causes
<div style="text-align:left"></div style="text-align:left">
from lsp4e.
Re-opened due to the copy-paste case - #114 (comment)
from lsp4e.
The upstream issue is opened eclipse-platform/eclipse.platform.text#33 in order to track the copy-paste issue. The current API doesn't allow for adopters to exit the Linked Editing operation in case of pasting text that contains "stop" characters.
from lsp4e.
Related Issues (20)
- adjustments to additionalTextEdits are slightly off when on different line (when applying a proposal) HOT 4
- BadLocationException when editing a target file
- Impossible to select an element in the C++ LSP Quick Outline view with a keyboard HOT 3
- Blank editor after formatting source code via LS
- Performance bottleneck in Ui Thread HOT 6
- Add support for text editor actions "go to next annotation" & "go to previous annotation" HOT 1
- LSP Folding strategy is not used HOT 1
- Files outside of workspace cannot be opened in Eclipse because of IllegalArgumentException in LSPEclipseUtils
- deadlock i think in lsp4e code for markers, (deadlock in the workspace lock) HOT 2
- Folding reconciler is not invoked when document changes
- Enable folding via preferences
- Exception in LSPEclipseUtils.applyEdits
- Master build broken due to failed unit test HOT 6
- Performance issue when formatting a large file
- Folding annotations gets removed on large files while editing
- SimRel Participation? HOT 13
- MicroProfileGenerateOpenAPIOperation code action breaks developer workflow HOT 1
- Add References to editor context menu HOT 3
- Support partial results for DocumentSymbol
- Add ID to menu to allow external contributions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsp4e.