its there a way to use eslint disable in the settings json? - visual-studio

Im using in some files /* eslint disable */ but i think this may be unecessary, there's a way i can use in all files using settings.json?
enter image description here

Your Options for Disabling an Extension in VS-Code
To disable the extension open up the extension menu in the **Activity-Bar. Locate the extension you wish to disable, and then click the gear to the right of that extension. When you click the gear button, a menu will open, it will have several options — 2 of the options in the middle of the menu will offer you to disable the extension:
The first option disables the extension globally.
The second option will be to disable the extension for your current workspace.
Afterwards you need to restart your browser.
One more option
To disable all of your installed extensions, use the Disable All Installed Extensions command. To do this hit F1 to open the quick menu, it should drop open from the top of your screen. Once open type "Disable All Installed Extensions" into the Command Palette and select the Disable All Installed Extensions option once it appears.
Below is a screen shot I cropped to demonstrate disabling an extension:
SIDE-NOTE: A disabled extension will need to be enabled, when the user decides to use it. If you don not plan on using the extension in the foreseeable future, you should just remove the extension rather than permanently disabling the extension.
FOR MORE HELP AND INFO VISIT:
https://code.visualstudio.com/docs/editor/extension-marketplace#_disable-an-extension

Related

Remove IntelliCode icon

VS2022.
There's an "intellicode completions" icon at the bottom left of the editor. When I click it, it gives me completion settings. I confuse it with a bookmark. How do I remove it?
https://alextumanoff.medium.com/visual-studio-2022-intellicode-completions-52f25c6ffd97
Why do I need an icon for it, anyway? Do they expect me to change this setting on a regular basis?
Uninstall IntelliCode.
Use Resharper C++ instead.

Xcode11 Editors (via "Add Editor to Right") are disabled

It has been working all this while since I upgraded to Xcode11.2. A couple of days back noticed it and now it's not allowing me to add an editor to the layout. Similar to Editor changes introduced in Xcode 11.
Tried:
Restarting Xcode
Rebooting MacBook
No Xcode update pending in AppStore
Any other suggestions to try before reinstalling the Xcode?
Current State for Xcode:
Disabled Editor add option
Disabled Editor option via Menu->Editor
Update A:
After using "Adjust Editor Option"
This Assistant is not the same as regular editor.
An editor would allow the user to independently open any file (and not always show to counterpart files). Plenty of visual space as using external monitor 24".
Update 2:
It seems to be an issue with the current project only (perhaps some messed up .xcodeproj setting?). Opened another project, and I'm able to see the "Add editor on right" just fine.
Unfocus the Editor
Turned out to be that Editor was in focused mode. As soon as an editor is in focused mode, Xcode hides the other editors and disables "adding editors to right" option on the menu and right bar.
Use the following key combination to toggle the focus-unfocus the editor.
Control + Shift + Command + Enter
Or use the
Assistant Editor
Assistant is now under the editor option menu (left itme).
Also you can use control+option+command+return shortcut
Add Editor
The other one that is disabled is Add Editor on Right. Some times its getting disabled because there is not enough space to show another editor. You can change the position of it to below by holding option and click. This will convert it to Add Editor Below

How do I disable Firefox gestures?

I hate Firefox gestures, I just want to click, but if my move shake during click it happens a mess!
How do I disable firefox gestures?
You need to change the configuration, which you can do by typing about:config in the address bar and press the "Enter", just like you type the url of a website to open a website. If you see a warning just confirm.
Filter the available settings to the gesture-related settings by typing browser.gesture in the search bat at the top of the page.
Doubleclick on the relevant settings, and delete their contents if you want to disable them.
Close the about:config-tab once you're done.

How to change background color in the Notepad++ text editor?

Does anyone know how to change the background color, font size, and other appearance-based settings in Notepad++? The default is white but I am trying to change it into a dark gray or something else.
Go to Settings -> Style Configurator
Select Theme: Choose whichever you like best (the top two are easiest to read by most people's preference)
You may need admin access to do it on your system.
Create a folder 'themes' in the Notepad++ installation folder i.e. C:\Program Files (x86)\Notepad++
Search or visit pages like http://timtrott.co.uk/notepad-colour-schemes/ to download the favourite theme. It will be an XML file.
Note: I prefer Neon any day.
Download the themes from the site and drag them to the themes folder.
Note: I was unable to copy-paste or create new files in 'themes' folder so I used drag and that worked.
Follow the steps provided by #triforceofcourage to select the new theme in Notepad++ preferences.
From version v8 released 2021-06-07 Notepad++ has additional Dark Mode option.
To enable it go to Settings -> Preferences -> Enable dark mode
Effect:
Next step:
Go to Settings -> Style Configurator
Select Theme: Choose whichever you like best (over half of styles here are dark, but each is different).
Hint: click on theme list and use keyboard arrows 🔼 and 🔽 to switch between themes and test all of them.
Effect after all steps (Obsydian theme here):
There seems to have been an update some time in the past 3 years which changes the location of where to place themes in order to get them working.
Previosuly, themes were located in the Notepad++ installation folder. Now they are located in AppData:
C:\Users\YOUR_USER\AppData\Roaming\Notepad++\themes
My answer is an update to #Amit-IO's answer about manually copying the themes.
In Explorer, browse to: %AppData%\Notepad++.
If a folder called themes does not exist, create it.
Download your favourite theme from wherever (see Amit-IO's answer for a good list) and save it to %AppData%\Notepad++\themes.
Restart Notepad++ and then use Settings -> Style Configurator. The new theme(s) will appear in the list.
If anyone wants to enable dark mode, you may follow the below steps
Open your Notepad++, and select “Settings” on the menu bar, and choose “Style configurator”.
Select theme “Obsidian” (you can choose other dark themes)
Click on Save&Colse
Notepad++ changed in the past couple of years, and it requires a few extra steps to set up a dark theme.
The answer by Amit-IO is good, but the example theme that is needed has stopped being maintained. The DraculaTheme is active. Just download the XML and put it in a themes folder. You may need Admin access in Windows.
C:\Users\YOUR_USER\AppData\Roaming\Notepad++\themes
https://draculatheme.com/notepad-plus-plus
I have just installed the latest version Notepad++ website (currently it is v8.1) which provides an explicit dark mode setting.
Go to "Setting" -> "Preferences..." -> "Dark Mode" -> check the "Enable dark mode" tick box. The editor might need to be restarted to take effect completely.
https://notepad-plus-plus.org/downloads/
If you are not able to add the theme , a workaround is that go to
USER/Appdata/LocalRoaming/Notepad++
make sure you save whatever the data is there in stylers.xml as back up before
There you will find a stylers.xml you can edit that only , with any xml format you need.
( https://raw.githubusercontent.com/dracula/notepad-plus-plus/master/Dracula.xml )
Sometimes even after adding the file , notepadd++ doesn't pick up the theme
To revert back just edit back stylers.xml with the backup file.
After restarting it , you can see notepad ++ has taken that style as default

How to enable the dropdown above the text editor in visual studio

For some reason I've lost the dropdownbox above the text editor. The one that lists all methods, variables and properties in a class. And it makes me go crazy when I browse larger classes.
Maybe it is easier to enable "Navigation bar" option under "Tools->Options->Text Editor->[The language that you using]->General]
Have you tried resetting the interface?
from the command line run devenv.exe /resetsettings
2.. From Visual Studio
On the Tools menu, click Import and Export Settings.
On the Welcome to the Import and Export Settings Wizard page, click Reset all settings and then click Next.
If you want to save your current settings combination, click Yes, save my current settings, specify a file name, and then click Next.
—or—
If you want to delete your current settings combination, choose No, just reset settings, overwriting my current settings, and then click Next. This option does not delete default settings, which will still be available the next time you use the wizard.
In Which collection of settings do you want to reset to, select a settings collection from the list.
Click Finish.
The Reset Complete page alerts you to any problems encountered during the reset.

Resources