Current filter:
                                You should refresh the page.
                                  • Is it possible to disable rich comments per file type?
                                    i.e .gitignore uses # char as comment prefix. And CodeRush displays it as big comment.

                                Show all comments
                                • Pavel A (DevExpress) 11.15.2018

                                  Hello Miha,

                                  Thank you for contacting us.
                                  I tried to reproduce the issue with the .gitignore file but without success.

                                  I have created a simple '.gitignore' file with a comment and opened it in Visual Studio.
                                  CodeRush does not affect it in any way on my side.
                                  Here is a screencast that illustrates my attempts:

                                  So, would you please describe the steps that I should execute to reproduce this issue in detail?

                                  I look forward to your response.

                                • Miha Markic - DevExpress MVP 11.15.2018

                                  Hi Pavel,

                                  That's interesting. Attached my view, this is an excerpt of .gitignore

                                  ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. # User-specific files *.suo *.user *.userosscache *.sln.docstates # User-specific files (MonoDevelop/Xamarin Studio) *.userprefs # Build results [Dd]ebug/ [Dd]ebugPublic/ [Rr]elease/ [Rr]eleases/ [Xx]64/ [Xx]86/ [Bb]uild/ bld/ [Bb]in/ [Oo]bj/

                                  Any idea why is my .gitingore triggering rich comments?

                                • Miha Markic - DevExpress MVP 11.15.2018

                                  A repro note:
                                  - create new .net 4.6.1 console application
                                  - add text file, name it .gitignore
                                  - paste the content from above

                                  I guess it's all about what program one uses to open it (righ click on .gitgnore, open with...)
                                  - Source Code or Common Language Editor Supporting TextMate Bundles (<- for some reason this is my default) would yield rich comments
                                  - JSON editor or XML editor won't

                                  If I name it tubo.txt, then no rich comments.
                                  Interestingly enough, if I open a .txt file with Source Editor, then no rich comments as well.

                                  I guess this makes sense, but what editor should I use for .gitignore then?

                                • Pavel A (DevExpress) 11.15.2018

                                  Thank you for providing additional information.

                                  I have researched what the "Source Code or Common Language Editor Supporting TextMate Bundles" item means and found that it is related to the "Syntax Highlighting Pack" extension.
                                  I have installed this extension on my machine and I managed to reproduce the issue now.

                                  So, we will fix this issue and notify you about our results.

                                • Miha Markic - DevExpress MVP 11.15.2018

                                  Just note that even when I open .gitignore with Source Code (Text) editor I'm getting rich comments.

                                • Pavel A (DevExpress) 11.16.2018

                                  Thank you for the clarification, I have exactly the same behavior on my side, Miha.

                                1 Solution

                                Creation Date Importance Sort by