Git Product home page Git Product logo

Comments (13)

yamaton avatar yamaton commented on September 26, 2024 1

@WoozyMasta Thank you so much for the detailed report. They are helpful!

I updated the podman and kubectl data fixing your points and others. They still work only up to subcommands, though. Will work on it..

from h2o-curated-data.

yamaton avatar yamaton commented on September 26, 2024 1

Now supporting multi-level subcommands in the VS Code extension. Also updated podman, kubectl, and oc.

Thanks for the request and patience!

from h2o-curated-data.

yamaton avatar yamaton commented on September 26, 2024 1

Thanks for your report, @inno-steffg ! I did not add grep data as the extension's parser worked well. But I've just noticed that I didn't test against grep in macOS (BSD grep) where the document looked different...

Anyway, I've added GNU grep command data. Please type ⌘+⇧+P on macOS (Ctrl+Shift+P on non-mac) in "Shell Script" mode and choose Shell Completion: Load Common CLI Data to load command specs.

from h2o-curated-data.

WoozyMasta avatar WoozyMasta commented on September 26, 2024

Hi, this is a great solution!
Could you please add support for kubectl, oc and podman utilities

from h2o-curated-data.

yamaton avatar yamaton commented on September 26, 2024

@WoozyMasta Thanks for your feedback!
Current implementation cannot handle sub-subcommands (like kubectl create clusterrole ...) so it may take some time to support them completely, but I'll work on it.

from h2o-curated-data.

yamaton avatar yamaton commented on September 26, 2024

@WoozyMasta Added tentative support (up to subcommands) of kubectl, oc, and podman.

from h2o-curated-data.

WoozyMasta avatar WoozyMasta commented on September 26, 2024

@yamaton Thanks for the quick response.
Autocomplete is already working, which is great, but really not all is well

  • podman does not display all the available keys
    изображение
    the hint even hints that there is something wrong with the data structure, or it was not parsed correctly
    изображение

  • kubectl does not display all the available keys, and does not work with sub-sub-subcommands and sub-sub-sub-subcommands 😄
    изображение

Before writing this, I updated vscode, cleared the autocomplete cache for utilities and reloaded the CLI data.

from h2o-curated-data.

levlist avatar levlist commented on September 26, 2024

Hi!
This is a very useful extension, I use daily basis.
Not a bioinformatic tool but it can be helpful the robotframework support as well.
Could you please add it to the supported programs?

Thank you!

from h2o-curated-data.

yamaton avatar yamaton commented on September 26, 2024

@levlist With pleasure!

I've added robot and rebot specs from the robotframework as "experimental". Please load each spec to VS Code by the following. This operation is needed just once.

  1. Make sure you're in the Shell Script mode.
  2. Press Ctrl+Shift+P (or ⌘+⇧+P on macOS).
  3. Choose "Shell Completion: Load Command... [experimental]".
  4. Enter "robot" (excluding the quotes; it should be a command name available in this folder)

Please forgive me for this tentative support; I'm planning to make these addition/removal/request of commands easy.

from h2o-curated-data.

inno-steffg avatar inno-steffg commented on September 26, 2024

I've just discovered this extension and installed it.
I actually have choosen 'grep' for my first check, but seems like this tool is not in the database, yet.
So, I kindly ask for adding it.
Regards

from h2o-curated-data.

inno-steffg avatar inno-steffg commented on September 26, 2024

Works now. Thank you!

from h2o-curated-data.

caddac avatar caddac commented on September 26, 2024

can we get gcloud/aws support?

from h2o-curated-data.

yamaton avatar yamaton commented on September 26, 2024

@caddac I only have experimental support of aws command spec created back in February this year. aws and gcloud require dedicated parsers so I'm not sure I can support them fully in the near future.

Here is a procedure to install the aws command spec from our experimental channel:

  1. open shell script mode in VS Code
  2. Type Ctrl+Shift+P (or ⌘+⇧+P on macOS) and select "Shell Completion: Load Command Spec (experimental)"
  3. Type aws

The experimental channel basically searches this directory and download if the specified command is available.

from h2o-curated-data.

Related Issues (4)

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.