Giter VIP home page Giter VIP logo

labs-make-runbook's Issues

caching markdown blocks

This is so that you don't have to open/edit runbooks in order to bind commands.

The LSP now supports a request called docker/markdown-blocks which will cause the lsp to re-fire all of the current $bind/register notifications using whatever has been cached. If the runbook.md has ever been opened by the user on the current machine (the current docker-lsp volume) then you'll be notified of those cached volumes.

InlineCompletionItemProvider is not being registered during activation

This is the code from the previous extension. Inline completion providers are part of the next version of the lsp spec but they have to be registered manually in the current version of VSCode.

  vscode.languages.registerInlineCompletionItemProvider(
    [{ language: "dockerfile" }, { language: "markdown" }],
    {
      provideInlineCompletionItems(
        document: vscode.TextDocument,
        position: vscode.Position,
        context: vscode.InlineCompletionContext,
        token: vscode.CancellationToken
      ): vscode.ProviderResult<
        vscode.InlineCompletionItem[] | vscode.InlineCompletionList
      > {
        return nativeClient.sendRequest("textDocument/inlineCompletion", {
          context: {
            uri: document.uri.toString(),
            position: position,
            triggerKind: context.triggerKind,
          },
        });
      },
    }
  );

This is why the # docker:command=... completion is now longer showing up.

Json: Error: Connection error.

Hi, I tried make runbook v0.0.10

and I had this problem:

Error: Connection error.

This is my docker file:

FROM node:20.13.1-alpine

# Docker Scout -- Vulnerability Scanning solved
RUN apk upgrade busybox 
RUN apk upgrade openssl 

WORKDIR /usr/src/app

COPY ["package.json", "./"]
COPY [".env.example", "./.env"]

RUN npm install

COPY . .

RUN npm run build

EXPOSE 3000

CMD node ./dist/src/main.js

and this is my extension config:

Captura de Pantalla 2024-06-21 a la(s) 18 27 54

Docker Username is now always local-user

Was there a problem with 4fc89a7 - I'm now only seeing local-user, even when there the user is logged in.

Reproduction

Log in to Docker Desktop and then run the "docker" runbook generation - what I'm seeing is that we still see local-user.

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.