Comments (6)
I have the same problem, but with rbenv. I have htmlbeautifier in gem file, also under current ruby gems collections. Still doesn't work and I got ENOENT. Could you please add path variable to extension configuration? That would help.
Thank you
from vscode-erb-beautify.
@harssh
could you try to install it globally:
rvm @global do gem install htmlbeautifier
if still not working, maybe this is related to the environment to load the binPATH
from vscode-erb-beautify.
Working now thanks
from vscode-erb-beautify.
Hi @harssh
Could you run htmlbeautifier
from the VSCode built-in terminal?
from vscode-erb-beautify.
Yes @aliariff ,
No error while executing from terminal
from vscode-erb-beautify.
@pruzicka quickest way to hack around this it to link the rbenv shim to a directory in the default PATH (e.g. /usr/local/bin/htmlbeautifier
), but a way to supply the htmlbeautifier executable path would be much better
from vscode-erb-beautify.
Related Issues (20)
- Saving on no changes file appear a line of text HOT 8
- Retain line breaks
- Formatting incorrect when setting attributes HOT 3
- Support for vscode Format Selection HOT 1
- WSL2 issue HOT 2
- Code inside of a do block is not indented HOT 2
- Failed when formating UTF8 characters HOT 5
- Copy/Paste adds new line and breaks indentation HOT 3
- unicode characters turns ��� HOT 4
- v0.4.0. still unicode characters turns ��� HOT 11
- Error parsing standard input: invalid byte sequence in US-ASCII HOT 3
- Ctrl + / does not add comment block HOT 1
- plugin forcefully adds final new line (does not respect vscode settings.json) HOT 2
- Possible to ignore files or parts in files? HOT 5
- Empty file after formatting / save HOT 10
- Couldn't run htmlbeautifier 'spawn htmlbeautifier ENOENT' HOT 3
- The automated release is failing 🚨 HOT 1
- Support older VS Code versions HOT 1
- The gif on the README does not render
- Cannot read properties of undefined (reading 'apply')
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-erb-beautify.