Code Monkey home page Code Monkey logo

Comments (9)

monosans avatar monosans commented on June 9, 2024

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.

christopherpickering avatar christopherpickering commented on June 9, 2024

@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.

sgigou avatar sgigou commented on June 9, 2024

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.

monosans avatar monosans commented on June 9, 2024

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.

christopherpickering avatar christopherpickering commented on June 9, 2024

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.

monosans avatar monosans commented on June 9, 2024

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.

christopherpickering avatar christopherpickering commented on June 9, 2024

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.

christopherpickering avatar christopherpickering commented on June 9, 2024

does look painful tho..

from djlint-vscode.

monosans avatar monosans commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.