Can I disable code folding in WebStorm? - webstorm

I want to disable code folding in WebStorm. It's possible to turn off the folding indicators, but the folding itself still works. I'd like to be rid of the whole thing, so it's impossible to activate it in any way. Is this possible?
(There aren't any obvious options, but I'm hopeful there's something I've missed...)

In the WebStorm preferences there is a section for folding. There you can enable/disable folding for all different types of code. Personally, I have all my folding disabled as well. Hope this helps!
FYI:
Preferences -> Editor -> General -> Code Folding

Related

How to ignore django expression errors in VS Code js file?

Is there any way to ignore these kind of errors (django expressions)? The code works perfectly, but VS Code is triggering those errors, which I find visually distracting.
You just need to install an extension that provides language support for Django templates. Go search for one that works for you on the Visual Studio Marketplace or in the extensions view of VS Code.
I'd list some extensions on the marketplace, but in the interest of being non-biased and not having to come and maintain a list when new ones come out in the future, I won't. (There's also the fact that Stack Overflow is not a platform for software recommendations (see #3 of /help/on-topic)).
Now, if you really just want to disable problem highlighting, see How can I easily toggle display of problem underlining in VS Code editor panels?

How to override semantic highlighting in C++ Visual Studio Code

I've been trying to create a vscode theme for a couple of weeks, and everything is working out pretty well, except that something called "Semantic Highlighting" keeps overriding my theme's configurations.
Now there are a lot of questions and solutions regarding this already, but none seem to make a difference. I like semantic highlighting, but there ARE some colors I would like to modify.
I couldn't find a way to "override" the semantic highlighting with my theme configurations, so I tried disabling it by:
theme.json: "semanticHighlighting": false"
and
settings.json: "editor.semanticHighlighting.enabled": false"
But none of them make a difference.
To keep it simple, I would like to keep semantic highlighting turned on (if possible) and just override some of its coloring with my theme's configurations. I don't want to mess with "semanticTokenColors": {} since my target scopes are really specific and semanticTokenColors only offer to modify a wide range of scopes such as type, string, class, etc...
Is there any way I can achieve this? Thanks in advance.
OS: Windows 11
Vscode Version: 1.73.1 Stable Build
Installed C++ Extensions:
C/C++
C/C++ Advanced Lint
Code Runner
Better C++ Syntax (I've tried disabling this too.)
clangd

What is/was the default JS/HTML formatter in WebStorm?

Or even better, what is the closest ESLint/Prettier ruleset?
I'm trying to enforce ESLint on a legacy AngularJS project, and the maintainer is reluctant to accept this enforcement. In order to placate him, I want the ESLint ruleset/config to match his current style as closely as possible.
I questioned him, and he told me that he is using formatting on save. I expect he is using whatever is default, because I could not get him to tell me what configuration he is using. It makes me think he has not changed the default.
The IDE own formatter doesn't work on save, so he must be using some linter/beautifier.
The default WebStorm code style preferences are not based on any existing standards/ruleset

How can I enable automatic code suggestions in eclipse for c++?

I've decided to use eclipse as my primary IDE for c++ coding but I can't seem to figure out the automatic autocomplete. When I press ctrl + space it shows them just fine but not when I'm typing normally. I tried browsing through the settings but in content assist setting under auto-activation it only has checkboxes for ., ::, and -> triggers and not for letters, numbers and parentheses. I tried browsing around the web and all the solutions were for the java version of the eclipse IDE, not the c++ one.
I do not think it is possible with the C++ editor. As you described, automatic trigger for content assist only works after typing ., -> or :: (if enabled) and there is no way to make it work for other combinations. See the dialog below:
As you mentioned, Ctrl + Space can always be used to manually launch the tool, but I understand it can become annoying.
So to answer your question: No, it is not possible (for C++).

Disable Gradle auto make in Android Studio

In Android Studio 0.2.0, whenever I type anything in my build.gradle files, Gradle decides it's time to rebuild. This takes a long time, generates noise and kills my battery life. It never ends as well, at least not until I finish editing the file… always rebuilding as I type. Lucky me I use Ubuntu with plenty of free memory.
So… I'd like to deactivate any option to auto make stuff. This is what I've tried so far:
Checking "File" | "Power Save Mode" in the menu.
Unchecking all options and all combinations between them in "Compiler" options, especially "Make Project Automatically".
Nothing works. I'd like a way to only build when I ask. Like a manual mode with a button. Something like that.
I understand Android Studio and the whole build system is very new, with lots of rough edges, but I'm hoping it's just a matter of an obscure flag definition in a file somewhere.
Previous research: this question does not provide enough details or goals, so I made my own. This G+ thread was a dead end as well. I'm still getting used to the new stuff and may be lost searching (i.e., missing the right keywords etc.), so sorry in advance if there are no updates on this issue.
Thank you.
under preferences > Gradle you can disable auto-import. With it selected it'll reimport the gradle project (which right now builds it first) every time you change the file.
Additionally, if you are using Kotlin build script (Kotlin DSL), after disabled auto-import like #Xavier said, you need one more step: uncheck the Auto Reload checkbox of KotlinBuildScript under preference -> languages & frameworks -> Kotlin -> Kotlin Scripting.