I cannot beautify my code
See original GitHub issueIt throw this error out, but i’m not sure what it mean??
File src/core/download_resource_management: error: indent/outdent mismatch: 2.
Issue Analytics
- State:
- Created 6 years ago
- Comments:21 (6 by maintainers)
Top Results From Across the Web
Beautify on save in VS code? - Stack Overflow
I want to have my code beautified whenever I save a file, but can't figure out how to configure it that way. It...
Read more >Beautify 1.5.0 format on save not working with vscode 1.50.1
1, using command palette to select command "Beautify File" works. Does this issue occur when all extensions are disabled?: N/A. The issue is ......
Read more >How to Beautify a JavaScript File in Visual Studio Code
Search for and select Beautify: Click Install: Now, select CTRL + SHIFT + P or the View menu to bring up the Command...
Read more >How to enable auto format on save with prettier in VS Code ...
Your browser can't play this video. ... auto format on save in VS Code (Visual Studio Code ) editor with prettier code formatter...
Read more >Code Formatting with Prettier in Visual Studio Code - YouTube
Learn how to have your code automatically formatted to save yourself a lot of time and headache! ... Your browser can't play this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The current master branch exhibits the reported behavior on the code submitted by kamontat on October 18. Commit 9e98979087f0923ae222770d80fb25728c6914c2 doesn’t fix it. Here’s a smaller example that exhibits the same behavior:
The problem is indeed the
<<<
here-string syntax. Beautysh mostly assumes that any appearance of<<
indicates a here document, which is false. The above commit changed beautysh to exclude a very specific use of here strings (i.e., the ones at the ends ofwhile
loops), but doesn’t address broader use of here strings. (Several examples available in the Advanced Bash-Scripting Guide on the topic.)I get the same error, and my script works just fine.