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
The document is already formatted correctly with a tab so we should not return an edit replacing the tab with a tab.
const library = require("dockerfile-language-service"); const service = library.DockerfileLanguageServiceFactory.createLanguageService(); const edits = service.formatRange( "EXPOSE 8081\\ \n\t8082", { start: {line: 1, position: 0}, end: {line: 1, position: 1} }, { 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:
a283351
rcjsuen
No branches or pull requests
The document is already formatted correctly with a tab so we should not return an edit replacing the tab with a tab.
The text was updated successfully, but these errors were encountered: