Visual Studio Auto-Format Broken

I'm running Visual Studio 2008 sp1 on Windows 7 Build 7100 32bit. I've never had this problem before, even on different installs of Windows 7 RC. when I finish a statement with a ';' or '}' or...

Netbeans CSS auto format

In Netbeans 6.9.1 (PHP bundle) the code format (ALT+SHIFT+F) doesn't seem to work on CSS files, that is when I try to run it nothing happens. Is it normal or am I missing something?

How To Auto-Format / Indent XML/HTML in Notepad++

Is there a way to re-indent a block of code? I'm looking for something similar to Ctrl+Shift+F in Eclipse (Auto-Format/Indent). To be clear, I already know how to format XML outside of Notepad++...

Auto-format R code in RStudio

Is there any possibilities for auto-formatting code in RStudio? I found this, but it is not connected with RStudio. Also it is desirable that it be customizable formatting.

Sublime Text 3 Code autoformatting

I've searched high and low, but I can't seem to find a plugin that makes Sublime work similar to how Visual Studio formats my code as I type it. For example, when I write a for loop, it looks...

SublimeText: autoindent on save?

I'm wondering if there is any way to autoformat code in ST3 for a specified event (here on save). For instance, I would like Sublime to format my code each time I save my code (and for any...

How to disable auto changing tabs to spaces in the code in Intellij Idea?

How to disable auto changing tabs to spaces and removing empty lines, whitespaces in the sourcefiles after it opened? In other words if the line contains tabs and spaces in one line Idea shouldn't...

How to Auto-Alignment Shortcut Key in Keil uVision?

I want to find Auto-Alignment Shortcut Key in Keil uVision. I tried some shortcut keys but I can not find. In Visual Studio I used to: CTRL + K + D , but in keil uVision I don't know how it is...

Gradle build file auto-formatting in Eclipse?

Eclipse Mars. I've installed the "Minimalist" syntax highlighter editor plugin... as discussed here, but is there any way currently to get auto-formatting on .gradle files? It may well be that...

Prevent VSCode auto format on save from removing final newline

I am using the last feature of VSCode called formatOnSave, which is super cool. I have one tiny problem, the formatter tends to delete the new line at the end of json files like packages.json for...

VSCode autoformat going to 2 spaces instead of 4

Whenever I let vscode autoformat my code, it formats to 2 spaces instead of 4, even though apparently the default is 4 spaces, and I have not touched the settings.json Editor.tabsize also shows...

make Clang-Format ignore comments for line break

Is it possible to tell Clang-Format to ignore comments for line break operations? The idea is to follow the style "the code is well formatted, even if comments exceed the line break margin". Code...

How do I Change VSCode To Indent 4 Spaces Instead Of Default 2?

I have applied the below settings in VS Code to get 4 spaces indentation. But always when I open a new file, it switches back to 2 in the right-bottom corner. If I click in the right-bottom...

How to use ESLint for vue template placed in separate html file

Imagine you have "SFC" with template like this: <template src="./my-separate.html"></template> <script>/* whatever */</script> <style>/* whatever */</style> And imagine you have working...

There is no document formatter for 'django-html'-files installed

In vscode, shift+alt+f for auto-formatting does work in HTML, but not work for Django template file. How can I use autoformatting function in VS code?

How to Auto-format Code in Python in NPP or Online

I do most of my Python coding in Notepad++. I would like a way to quickly and easily reformat my code using the default rules from PyCharm - things like spacing, number of blank lines between...

VSCode failed to load plugin cannot find module 'eslint-plugin-prettier'

I'm installing eslint and Prettier in my project and trying to get automatic code formatting to work through VSCode. When I go to a React file, I see that ESLint is in error so I open up the...

Gradle "problem occured evaluating root project. For input string: "=10"

I am trying to install BEAM, an extention on MatSim through the GIT Bash and I keep running into this error. This is exactly what I get: $ gradle classes Starting a Gradle Daemon (subsequent...

Prettier not formatting Unity C# Code - "Cannot format Movement.cs"

when I create a simple .cs file in VS Code in any folder, without a project setup or anything, it will format correctly using the Prettier extension (onSave). But I cannot get the autoformatting...

Can't get menu item to show in an unpublished add-on for google document

My code look like that: function onInstall(e) { onOpen(e); } function onOpen(e) { DocumentApp.getUi().createAddonMenu() .addItem("Format Your Text", "autoFormatting") ...

Disable autoformat in VS Code for dart

So i wanted to work on my app but suddenly when i save, the document autoformats. Yesterday i had no problems but now i have. I have checked by autoformatting but that is off. When i opened VS...

Autoformatting failed, buffer not changed : Sublime text

While setting up Python Development Environment in Sublime text 3, I wanted Auto formatting on and hence I made the following settings in Preferences > Package settings > Anaconda > Settings...

Python AutoPep8 formatting not working with max line length parameter

I noticed one strange thing that autopep8 autoformatting in VSCode doesn't work when we set "python.formatting.autopep8Args": [ "--line-length 119" ], But if this setting is in a...

How do I turn off text formatting on save in visual studio code?

I don't know why my code is auto formatted on save and for some reason changing the layout. I figured out this was due to auto format on save. How do I turn auto save off in Visual Studio Code?

Linter rules for single or multiline object literals

I try to set up ESLint rules for both linting and autoformatting of object literal. This snippet should cause linter error: let obj = { foo: 1, bar: 2, baz: 3 }; And I expect it to be fixed...

Automatically reload current file in vim after code formatter has run on save

I am trying to to acheive the following every time a file is saved in Vim under Windows 10 (Vim 8.2): Auto format the file (using an external tool, e.g. Uncrustify) Reload the formatted file in...

Dymola, whitespace and version control

I opened a Modelica library in Dymola, changed one line, closed Dymola and clicked "Save all", now TortoiseSVN is showing several hundred changed files instead of just one file with the one line...

Git pre-commit get all Python files

I'd like to run black to format all the staged .py files on a commit. Unfortunately due to employer network VPN and restrictions I'm unable to use the pre-commit package because it times out when...

How to prevent Visual Studio Code Flutter/Dart Editor from formatting new line/wrapping code?

I recently started working on Flutter/Dart, I like the flutter autoformatting on-save, but one thing might or might not be related is the code wrapping for long code even if code is still fitting...

Autoformatting of *.vue files in VSCode not working

I am working on a Vue.js project in VSCode 1.58.2. Everything works smoothly; however *.vue files are not autoformatted on save. My .vscode/settings.json { "editor.formatOnPaste": true, ...