Quantcast
Channel: Formatting code in Notepad++ - Stack Overflow
Browsing all 16 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Answer by Moh for Formatting code in Notepad++

Another Potential SolutionOkay, so it's been 12 years since this question was asked. I think that I've found a another acceptable solution, that is perhaps better for formatting files, using...

View Article


Answer by M SW for Formatting code in Notepad++

NPP+ v7.9.1 with the latest version of XMLTools can't format exported VBA code from Office 2016/2019 Word. It puts all the code on the same line since it strips the CRLF out. Moreover, when you enable...

View Article


Answer by NevetsKuro for Formatting code in Notepad++

In Plugins > Plugin Admin > Search 'XML Tools'> Install.The window will restart and install XML Tools under plugins.Open your file and click Ctrl + Alt + Shift + B

View Article

Answer by Grandizer for Formatting code in Notepad++

ANSWER AS OF June 2019Install the XML Tools plugin from the Plugin Admin (in Notepad++ 7.7 at least)Then click Plugins -> XML Tools -> Pretty Print (XML Only with Line breaks)That did it for me.

View Article

Answer by itzmebibin for Formatting code in Notepad++

We can use the following shortcut in the latest version of notepad++ for formatting the codeAlt + Ctrl + Shift + B

View Article


Answer by Philip Rego for Formatting code in Notepad++

No. Notepad++ can't format by itself. Formatting can easily be accomplished in many IDEs like Eclipse, NetBeans, Visual Studio [Code].

View Article

Answer by user3413723 for Formatting code in Notepad++

This isn't quite the answer you were looking for, but it's the solution I came to when I had the same question.[update - I'm using vscode now for everything. I think it works better in a lot of...

View Article

Answer by Will Wang for Formatting code in Notepad++

If all you need is alignment, try the plugin called Code Alignment.You can get it from the built-in plugin manager in Notepad++.

View Article


Answer by danny for Formatting code in Notepad++

In my notepad++, it seems TextFX needs a perl environment to format HTML files. Tidy2 demands nothing so I think it's more handy.

View Article


Answer by JackArbiter for Formatting code in Notepad++

The latest plugin is tidy2, which can be installed through Plugins>Plugin Manager>Show Plugin Manager.I suggest editing config 1 and setting quote-marks: no, especially if you have script that...

View Article

Answer by panky sharma for Formatting code in Notepad++

For JavaScript Formatting I use Notepad ++ JSMin Plugin.Quite Handy

View Article

Answer by Dmitry Avtonomov for Formatting code in Notepad++

there is such a plugin as UniversalIndentGUI, it can be installed right from the plugin manager and has possibilities to reindent the most used programming languages.

View Article

Answer by user890332 for Formatting code in Notepad++

If you go to TextFX menu and go to TextFX Edit, you will see a menu item Reindent C++ Code.That will also format C# code.

View Article


Answer by gablin for Formatting code in Notepad++

TextFX -> HTML Tidy -> Tidy: Reindent XMLRemember to have the HTML code selected before you do this.

View Article

Answer by Thariama for Formatting code in Notepad++

Here is a list of the available shortcuts in Notepad++.In case your desired functionality is not available, you are able to define own macros and assign them to a custom shortcut (i am not used to use...

View Article


Formatting code in Notepad++

Is there a keyboard shortcut to format code in Notepad++ ?I'm mainly working with HTML, CSS and Python code.For example:<title>{% block title %} {% endblock %}</title> <link...

View Article
Browsing all 16 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>