Comments (9)
I got this when it began doing the same thing :
Illegal value for
line: Error: Illegal value for
lineat t._lineAt (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:229497) at Object.lineAt (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:228287) at TagManager.getNewWord (C:\Users\Codin\.vscode\extensions\formulahendry.auto-rename-tag-0.0.11\out\src\tagManager.js:88:33) at TagManager.updatePairedTag (C:\Users\Codin\.vscode\extensions\formulahendry.auto-rename-tag-0.0.11\out\src\tagManager.js:81:27) at vscode.workspace.onDidChangeTextDocument.event (C:\Users\Codin\.vscode\extensions\formulahendry.auto-rename-tag-0.0.11\out\src\tagManager.js:13:18) at e.invoke (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:30930) at e.fire (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:34737) at t.$acceptModelChanged (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:298227) at t.e.handle (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:266430) at s (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:154933)
from vscode-auto-rename-tag.
I could not repro it. Are you using latest version?
from vscode-auto-rename-tag.
from vscode-auto-rename-tag.
Up till now, has been working perfectly. Then, 2 days ago, it started doing as described here (this thread) and as in thread #20 . Today, non-functional at all.
Same steps to reproduce as report from @tomchovanec above.
Have tried a number of times by closing then reopening Code, which in the past has fixed problems with extensions not working. This "fix" now (today) does not work for this extension, though it did when the issue started about two days ago. Tried a reboot, same failure.
Latest version of Code. Latest version of Extension. Operating system fully up to date (Linux, Debian Testing, XFCE desktop)
Have noticed that where previously both starting and ending tag were selected on the double-click of the opening tag, now only the starting tag is selected.
Anything else that can look at that may help?
from vscode-auto-rename-tag.
Could you go to Help
-> Toggle Developer Tools
, and see if there is any error message in Console
?
from vscode-auto-rename-tag.
from vscode-auto-rename-tag.
from vscode-auto-rename-tag.
For me it seems Auto Rename Tag correctly renames the div
tag to an a
(as in the first letter of article
) then switches over to renaming a matching a
tag not the initial div
tag I started renaming. What's funny is that if the extension is checking for a new matching tag for each keystroke the matching a
tag should be the one that was just created by typing the first a.
Perhaps a solution to this could be to not search for a new matching tag until the cursor is repositioned with either a mouse click or pressing the arrow keys etc.
I'm attaching the highly simplified WordPress template markup below as well as a demo video.
<div class="post-entry">
<a href="#">
<div class="post-thumbnail">
<img src="" alt="">
</div>
</a>
<h1 class="post-title"><?php the_title(); ?></h1>
<a href="<?php the_permalink(); ?>">
Lorem
</a>
</div>
from vscode-auto-rename-tag.
I have the same error as @MonsieurMan
ERR Illegal value for `line`: Error: Illegal value for `line`
at t._lineAt (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:377:34)
at Object.lineAt (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:375:860)
at TagManager.getNewWord (/home/capaj/.vscode/extensions/formulahendry.auto-rename-tag-0.0.15/out/src/tagManager.js:97:33)
at TagManager.updatePairedTag (/home/capaj/.vscode/extensions/formulahendry.auto-rename-tag-0.0.15/out/src/tagManager.js:90:27)
at __dirname.run.vscode.workspace.onDidChangeTextDocument.event (/home/capaj/.vscode/extensions/formulahendry.auto-rename-tag-0.0.15/out/src/tagManager.js:14:18)
at e.fire (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:133:218)
at e.$acceptModelChanged (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:538:1008)
at t._doInvokeHandler (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:658:837)
at t._invokeHandler (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:658:509)
at t._receiveRequest (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:657:126)
at t._receiveOneMessage (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:656:59)
at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:653:895
at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:130:793
at e.fire (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:133:218)
at a (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:186:147)
at Socket.n._socketDataListener (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:186:368)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:594:20)
from vscode-auto-rename-tag.
Related Issues (20)
- It does not work
- Add LaTeX support ? HOT 2
- VSCode Insiders now has auto renaming feature by default HOT 2
- Unexpected 'IntegerLiteral'. Expected ')'.
- The extension is not working appropriately with multiline cursor
- Extension becomes unresponsive
- 撤销会被打断啊。。。 HOT 1
- Cutting or deleting opening tag content causes undo loop HOT 1
- Adding tag label to "<" in if statement HOT 3
- The extension seems to be creating high CPU usage on M1 Pro HOT 2
- Feature request: Yew/Rust support HOT 1
- Extension issue not working
- Support MDX files HOT 1
- Extension causes high cpu load
- Extension causes high cpu load
- Extension causes high cpu load HOT 1
- This extension seems to be obsolete since VSCode v1.79 HOT 5
- hr tag
- no problen
- oijio
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-auto-rename-tag.