We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As the second line already has a tab there, we should not be replacing a tab with a tab.
const library = require("dockerfile-language-service"); const service = library.DockerfileLanguageServiceFactory.createLanguageService(); const edits = service.formatOnType( "EXPOSE 8081 \n\t8082", {line: 0, position: 11}, "\\", { insertSpaces: false, tabSize: 4 } ); console.log(edits[0]);
{ range: { start: { line: 1, character: 0 }, end: { line: 1, character: 1 } }, newText: '\t' }
The text was updated successfully, but these errors were encountered:
81a90bc
rcjsuen
No branches or pull requests
As the second line already has a tab there, we should not be replacing a tab with a tab.
The text was updated successfully, but these errors were encountered: