I have added:
<string>conf</string>
to fileTypes section (https://github.com/clintberry/sublime-text-2-ini/blob/master/INI.tmLanguage) for INI plugin but .conf files (which are essentially .ini files) are still not syntax highlighted in ST2.
I'd add ticket in INI plugin github Issues system but it seems to be abandonware...
Open a .conf file in Sublime, then select View -> Syntax -> INI for syntax highlighting. Then, select View -> Syntax -> Open all with current extension as... -> INI and you should be all set. This creates a file Packages/User/INI.sublime-settings with the correct settings in it:
{
"extensions":
[
"conf"
]
}
Related
Should warning, that english is not my native, sorry for grammar misstakes.
I have a problem with shortcut that i create with NSIS. The shortcut's link leads to exe file, that use a json config, config is in the same directory with exe, and when i use the shortcut it returns me an error, that it can't finde the config, cause it's searching in the shortcut's directory. But when i make the shortcut by myself it works correct - searching config in the exe's directory. I need to create the shortcut, that will uses a config which lies in instdir. How to make it correctly?
That's how i create the shortcut:
CreateShortCut "$DESKTOP\%link_name%.lnk" \
"$INSTDIR\%SomeDir%\Application.exe" \
"" \
"C:\Users\Daniil.Bogdanov\Pic\logo.ico" 0
The config and exe lie in %SomeDir%
This isn't the most intuitive thing but CreateShortCut sets the working directory for your shortcut based on the current $OUTDIR value.
https://nsis.sourceforge.io/Docs/Chapter4.html#createshortcut
$OUTDIR is stored as the shortcut's working directory property. You can change it by using SetOutPath before creating the shortcut
So I'm guessing that your output path isn't the same as the location of your executable. This could be remedied by using SetOutputPath right before creating your shortcut.
SetOutPath "$INSTDIR\%SomeDir%\"
CreateShortCut "$DESKTOP\%link_name%.lnk" \
"$INSTDIR\%SomeDir%\Application.exe" \
"" \
"C:\Users\Daniil.Bogdanov\Pic\logo.ico" 0
In WebStorm, I am getting a "Project SDK is not defined" prompt when editing the app.config file of my elastic beanstalk environment, and the file is full of red squiggly line errors, as follows:
When I click the "Setup SDK" link, I am taken to the following screen:
What should I do to get WebStorm to recognize my app.config file?
The file type of Elastic Beanstalk config files are YAML, but from your screenshots, it looks like your WebStorm thinks that they are something else. To get WebStorm to treat config files as YAML, do the following:
Make sure the YAML Plugin is installed
Hit Ctrl+Alt+S
Type Plugins
Click on Plugins on the left side
Type YAML on the right side to install it or verify it's there already
Get WebStorm to treat *.config files as YAML
Hit Ctrl+Alt+S
Type File Types
Click on File Types on the left side
Click on YAML under Recognized File Types
Click the green + button under Registered Patterns to add *.config
WebStorm should then recognize your app.config file as a YAML file and no longer prompt you to set up an SDK while viewing it.
In PhpStorm in file -> settings -> Language & Frameworks -> JavaScript -> JSHint I have checked Enable and Use config files. I have tried both options for location. For custom configuration file I used a path leading to my package.json yet I am not able to override jshint settings. It seems like if the IDE was looking somewhere else...
How to tell PhpStorm/WebStorm that it should use jsHintConfig from package.json?
If I use
"jshintConfig": {
"eqeqeq": true, // true: Require triple equals (===) for comparison
}
The IDE doesn't complain of ==.
I had to change the JSHint version from 2.8.0 (Bundled) to 2.9.1 and use Location -> Default settings.
Am trying to set ipython default text editor. Using Ipython 0.13.2 Using the %edit magic I get the following message:
No default editor available.
Specify a GUI text editor in the `IPythonWidget.editor` configurable to enable the %edit magic
tried looking for it in IPython tried importing IPythonWidget.. no luck
Have checked the following questions:
Ipython Configuration - Config Classes Overview
also checked the the Overview of Ipython config system. http://ipython.org/ipython-doc/stable/config/overview.html
I can create profiles (using the ipython command line options) and I know where they are have added started files to the startup folder in the config directory.
I don't follow how the Configuration classes work at all. Looks like I have to create them? Should I save them in my ipython configuration startup folder?
Specifically looking to set Sublime Text as editor, but if I can get instructions on any editor, can probably adapt it form there.
In your profile, edit ipython_qtconsole_config.py, you'll find a line # c.IPythonWidget.editor = '' uncomment and set the value to the command to launch your editor.
Do
$jupyter qtconsole --generate-config
This will create jupyter_qtconsole_config.py in your default jupyter config directory with the option c.IPythonWidget.editor = '' commented out
How do I remove a completion from Sublime Text 2?
Specifically, in a Ruby file, after the num symbol #, hitting tab autocompletes to # =>.
I don't need this completion, and it's really annoying when trying to write comments. How do I remove it?
It's a snippet installed by default with the Ruby package.
In order to disable it:
Open Sublime Text 2.
Select Preferences -> Browse Packages...
It will open a directory, open the directory Ruby
Rename the file Add-'#-=-'-Marker.sublime-snippet in Add-'#-=-'-Marker.sublime-snippet.old
Assuming that you run SublimeText2 on Mac go to Preferences > Browse Packages. In the folder Packages find the Folder Ruby. In Ruby find the file Add-'#-=-'-Marker.sublime-snippet and manipulate it.
But I strongly recommend to put the changes in a user file. I think this is Preferences > Settings - More > Syntax Specific - User
See: http://www.sublimetext.com/docs/2/settings.html