Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow renames to be prepared for here-documents #129

Closed
rcjsuen opened this issue Aug 1, 2024 · 0 comments
Closed

Allow renames to be prepared for here-documents #129

rcjsuen opened this issue Aug 1, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Aug 1, 2024

FROM alpine
RUN <<EOT
EOT
const lib = require("dockerfile-language-service");
const service = lib.DockerfileLanguageServiceFactory.createLanguageService();
const document = `FROM alpine
RUN <<EOT
EOT`

console.log(service.prepareRename(document, { line: 1, character: 8 }));
null
@rcjsuen rcjsuen added the enhancement New feature or request label Aug 1, 2024
@rcjsuen rcjsuen closed this as completed in 3830bee Aug 2, 2024
@rcjsuen rcjsuen self-assigned this Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant