docker / labs-make-runbook Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
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.
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.
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:
Was there a problem with 4fc89a7 - I'm now only seeing local-user
, even when there the user is logged in.
Log in to Docker Desktop and then run the "docker" runbook generation - what I'm seeing is that we still see local-user.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.