Comments (9)
Hi.
Can you please try to reproduce this problem again and after executing the Reinstall djLint
command, click on the Show Installation Log
button to make sure that Reinstall djLint
really changes something.
Also make sure VSCode is using the exact venv where you are updating djLint.
from djlint-vscode.
@monosans for a sidebar: Since you are using javascript to install djlint, are you interested in testing out the npm installer I'm building for it?
Ideally, we can install djlint with npm i djlint
and it will handle what you are doing in your vscode script for the install part.
you can give it a shot by running npm i git+https://github.com/Riverside-Healthcare/djLint.git
If you have discord maybe we can chat there about how to make an npm installer work better as it is still a proof of concept. https://discord.gg/taghAqebzU
from djlint-vscode.
I do not have access to my work computer until Monday. But I can already confirm that VSCode was using my venv – I have other tools installed in it that were working correctly.
from djlint-vscode.
I'm thinking of removing the ability to install djLint from the extension until we find a better solution for this. What do you think about this?
from djlint-vscode.
Sublime text python tools do that - they require you to globally install stuff like pylint, flake8, htmlhint, etc, if you want an extension to use them.
What does vscode do for pylint/black? (if there is an extension :D )
from djlint-vscode.
What does vscode do for pylint/black? (if there is an extension :D )
Separate extensions have recently been released for black and isort. Black and isort are built right into the extension. They use the pyglp library to communicate between Python and VSCode. I would also like to implement all this, but I do not have enough time, and, I think, skills.
The Python extension uses its own APIs for this. I don't know if I can somehow use them in this extension.
from djlint-vscode.
Its interesting, those two extensions are almost identical. Is it a template that Microsoft give? Or can you fork it and tweak to use djlint vs black?
from djlint-vscode.
does look painful tho..
from djlint-vscode.
The issue should be resolved in v2022.5.0. If this doesn't work for you, please let me know and I'll reopen the issue.
from djlint-vscode.
Related Issues (20)
- Support pipx-installed djlint HOT 2
- Question about vscode "problems" tab HOT 16
- Problem on self closing tabs HOT 1
- Publish to Open VSX Registry
- Formatter is appending to file HOT 3
- Code duplicated when formatting Django HTML HOT 6
- Formatter not working when pyproject.toml not at project root HOT 7
- Configuration from pyproject.toml is being ignore in v2022.10.1 HOT 20
- Wrong HTML formatting? HOT 1
- Is it possible to autofix certain problems? HOT 2
- Is it possible to disable the extension for specific file types? HOT 3
- settings djlint.configuration relative paths HOT 6
- Ignore linting tags do not work HOT 1
- Extension tries to access clipboard HOT 8
- djLint is not installed for the current active Python interpreter. HOT 2
- Regular ENOENT when using in SSH Remote HOT 13
- v2023.8.10 locks up keyboard in vscode. HOT 7
- Buggy behaviour when commenting and uncommenting via Toggle Line Comment vscode shortcut in Django HTML. HOT 1
- djLint should not attempt to lint HTML files in non-Django projects HOT 2
- Formatting and Linting Not Working in VSCode Starting with Version 2024.5.0 HOT 5
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 djlint-vscode.