Git Product home page Git Product logo

oelint-vscode's Issues

constantmods settings not working

for (var opt of <Array<string>>config.get("oelint-vscode.run.constmodadd")) {
res.push("--constantmods=+${opt}")
}
for (var opt of <Array<string>>config.get("oelint-vscode.run.constmodrem")) {
res.push("--constantmods=-${opt}")
}
for (var opt of <Array<string>>config.get("oelint-vscode.run.constmodovr")) {
res.push("--constantmods=${opt}")
}

Needs to use backticks to enable template strings:

    for (var opt of config.get("oelint-vscode.run.constmodadd")) {
        res.push(`--constantmods=+${opt}`);
    }
    for (var opt of config.get("oelint-vscode.run.constmodrem")) {
        res.push(`--constantmods=-${opt}`);
    }
    for (var opt of config.get("oelint-vscode.run.constmodovr")) {
        res.push(`--constantmods=${opt}`);
    }

README update

#4 adds a few options that are missing in the README - add them

conflict because extension "BitBake language support" is deprecated.

I am using the oelint-adv and the vscode plugin since end 2023 during reviews of different yocto recipes. The plugin stopped to work after an update of vs-code, to V1.88.1 . I assume the issue is caused from the vscode extension "BitBake language support" which is marked as deprecated in that version.

Can someone check it and give me recommendation how to fix it?

Best Regards

Steffen

make the `--user` install argument configurable

Current update check does pip3 install --user --upgrade ... which is a problem when the user is root, as it's likely that root doesn't have the necessary directories (like home) setup - this for instance can be seen in some docker containers.
So to enable these use cases make the --user argument in the call configurable

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.