vsc-base
vsc-base copied to clipboard
Doesn't work anymore?
I've used it before. But now it doesn't seem to work. The preview remains empty. I have the latest version of everything.
I met the same issue.
versions:v2.1.1
vscode:
Version: 1.56.2 Commit: 054a9295330880ed74ceaedda236253b4f39a335 Date: 2021-05-12T16:45:26.313Z Electron: 12.0.4 Chrome: 89.0.4389.114 Node.js: 14.16.0 V8: 8.9.255.24-electron.0 OS: Linux x64 5.6.11-050611-generic
Which module are we talking about ?
This is a mono repository containing:
- vsc-base
- vsc-script
- vsc-scaffolding
- vsc-rename-files
- vsc-organize-imports
Which module are we talking about ?
This is a mono repository containing:
- vsc-base
- vsc-script
- vsc-scaffolding
- vsc-rename-files
- vsc-organize-imports
@alfnielsen
vsc-rename-files
vsc-organize-imports doesn't work for me. The setting "vsc-organize-imports"
in settings.json doesn't seem to be recognized.
Having the same problem, vsc-rename-files is not working for me anymore, the results in the preview remain empty.
+1
+1
Hey people, I have looked into the problem and unfortunately something has change in the way VSCode sends data to the Webview. I was not able to find any solution right now (And I don't have time at the moment to do a lot more investigation)
A little tech note, if anyone wanna take a look at it: It (the extension) sends data with no errors but the windows.addEventListener("message", ... ) in the webview code, don't react at all. (The webview are able to send data back to the extension!) It seems that the change is that webview are now made with two layers of iframes (An iframe with an iframe within it), so I have a little hard time to see how the outer iframe can pass the event message to the inner (But again I haven't had a lot of time to investigate) - Maybe there are some new permission that needs to be added or something..
At some point I will look at it again, but I have to much other work and project right now.
+1
I can understand you. For those who need a fast alternative: https://marketplace.visualstudio.com/items?itemName=JannisX11.batch-rename-extension.
Same
Version 1 of vsc-rename-files
seems to work just fine. Although you can't see the results before executing. Just make sure to commit before doing so 😅
The thing is there's no button to execute...
I can understand you. For those who need a fast alternative: https://marketplace.visualstudio.com/items?itemName=JannisX11.batch-rename-extension.
This one makes you manually select files from the file explorer which is not suitable when you have a large project with a lot of similar files in different subfolders.
This extension https://marketplace.visualstudio.com/items?itemName=justerest.multi-replace
does a great job at renaming file extensions and replacing their references in code. For example in my project it easily renamed all .styles.css
files to .module.scss
and also replaced all text occurrences of .styles.css
in code.