Comments (2)
Disabling "Run format document" solved a problem I was having with multiline comments being improperly indented between if-else blocks. I'm glad I found this issue posted here, I thought the problem was caused by Resharper 8, but this looks like a VS 2013 bug because it happens when I run Edit > Advanced > Format Document.
/* some comment */
if (false)
{
}
/* some comment */
else if (true)
{
}
/* some comment */
else
{
}
from codemaid.
Thanks both for the details. It looks like you've both traced it back to Visual Studio's native document formatting, which CodeMaid invokes and extends. You could open an issue with Microsoft for more support here: https://connect.microsoft.com/VisualStudio
from codemaid.
Related Issues (20)
- [Bug] Inserting a space before a single line comment HOT 2
- ITextBuffer returns null for code file if designer window open HOT 1
- Support file encoding HOT 1
- # declarations should be aligned with usual code HOT 2
- Code Maid Visual 2022 - Making Tabs larger/Smaller than stated in Visual Studios native document formatting setting HOT 7
- SPADE not work on vs 17.7.5 HOT 2
- The keyword `file` will be changed to `internal`. HOT 2
- Remove space on end tags HOT 1
- Hello, I'm wondering if there are any plans to support Rider? HOT 1
- with VS 17.8 usings are not cleaned up anymore HOT 8
- Adding the backtick character in javascript code breaks codemaid cleanup HOT 4
- Running "Cleanup Open Code" does not update File Header HOT 1
- Format-on-save feature causes xaml files not to be "saved"
- Formatting Removes `file` and `required` keywords HOT 3
- Start Position must lie inside rance HOT 1
- Run CodeMaid on all changed files when merged to master.
- Code Cleanup Command under Analyse menu not working in .cshtml files in VS 2022
- Sort Lines ignores leading tick ' HOT 2
- Unable to run extension during development
- Progress window text remains cut off
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codemaid.