Comments (5)
Hi, thanks, would you be able to provide the full code example or the excerpt where this error occurs?
from vscode-highlight-matching-tag.
Right now it simply seems like your tag is invalid with a random quotation mark in the middle...
from vscode-highlight-matching-tag.
This is just an example, but it appears in several files that mix javascript, html and php code.
$.each(data, function(i, v) {
lista += '<tr><td class="text-center">' + v.idconfig +
'</td><td>' + v.titulo + '</td><td class="text-center">' +
'<input class="form-check-input" type="checkbox" disabled ' + (v.ativo == 1 ? 'checked' : '') +
'></td><td class="text-center">' +
'<button class="btedit btn btn-link btn-sm" data-id="' + v.idconfig + '">' +
'<i class="fas fa-edit"></i></button></td></tr>'
});
$('#tableconfigs tbody').html(lista);
from vscode-highlight-matching-tag.
I have improved the matching according to your example. However, I wouldn't bet on it working well all the time, because building DOM from strings like that is incredibly hard to parse correctly. It's almost an accident if it works, and I will not support it if it requires hacks. Having said that, you can try updating the extension now and check if it works better for you now.
from vscode-highlight-matching-tag.
Thank you Vincas. My intention was only that the extension would still work in the rest of the html, and now, besides working in HTML, it still works in the javascript string, incredible!
from vscode-highlight-matching-tag.
Related Issues (20)
- underline HOT 1
- How to Change Underline Width or Set Border Only For Bottom HOT 3
- Expected comma error! HOT 4
- VSCode latency
- Does not work with unicode
- Selected text not highlighting HOT 2
- Feature Request: Support if-directives from AsciiDoc HOT 1
- HTML Tag highlight issue if comments are present.
- "highlight-matching-tag.showPath": true is not working. HOT 1
- Don't show if on same line number HOT 1
- Hangs vscode for minutes on large codgen'd *.ts file HOT 2
- cant see the yellow line left HOT 3
- [Request] add a command: Select tag HOT 1
- Editor to become unresponsive when both Highlight Matching Tag and Overtype extensions are enabled HOT 2
- TSX support
- dont work vscode
- can't work on .tsx HOT 1
- In the mode where sticky scroll is enabled, the function does not take effect
- not working HOT 1
- Bug with PHP and PHP in HTML HOT 3
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 vscode-highlight-matching-tag.