[Minor] Extra line added when deploying
See original GitHub issueWhen deploying a script with the malware mdk 1.1.8 on VS 15.7.3, an extra blank line is added to the top of the script.
So basically:
1 partial class Program : MyGridProgram
2 {
3 // some Code
4 }
will become:
1
2 // some Code
in the ingame script editor instead of:
1 // some Code
(line numbers added for better understanding - not actual code)
I’m not quite sure, whether this is the MDK’s fault or VS tab settings (tabs are set to be kept instead of being converted to whitespaces). Removing all tabs at the front didn’t help. Placing the opening bracket in the class line didn’t help either.
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
lots of extra lines in layout xml files when deployed to git
Each time I merge our "ProdToMain" branch into main, the next commit to our "ProdToMain" branch adds a new layer of blank spaces....
Read more >Make addition/deletion of empty lines visible · Issue #366
Our markemptylines lines options will highlight with a green/red box at the beginning of a line any blank line that was added or...
Read more >Getting an extra Blank line at end of file while creating a txt file.
I have been trying to create a txt file with a format such as 1st row as header, from 2nd row i have...
Read more >Extra Blank Line in Out-File results : r/PowerShell
When you give it a string of a new line character "``n" , it adds a line after the new line. Instead, just...
Read more >The Power BI deployment pipelines process
In this article. Deploying content to an empty stage; Deploy content to an existing workspace; Deployed items; Item properties copied during ...
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
Thank you for your report. Most likely the newline after { is being preserved where it shouldn’t.
I don’t know if the changes in how MDK works has fixed this, but I probably won’t be fixing this particular issue.