Hide specific files in IntelliJ IDEA - linux

I know from Intellij IDEA. Hide .iml files that I can hide from the Project Tool Window specific file extensions on all directories. However, I have unsuccessfully tried to hide specific files (e.g. mymodule/blah.tgz) without getting all tgz files to hide as well. In Settings -> Editor -> File Type, at the bottom, I have tried specifying full and relative paths (e.g. ~/projects/mymodules/blah.tgz) without luck.
How can I achieve this? Is this supported at all? I'm using IntelliJ 14 Ultimate.

Please see the following comment.
How to hide unnecessary files from intellij project view?
I usually use the scope support in Idea to filter in/out files/folders in project tool window and other windows, i.e. Find.
I hope this helps.

Related

Where do I put custom syntax highlighter definitions for Sublime Text?

I have created a custom syntax definition in the new .sublime-syntax format, but I can seem to get it to appear in my list of available syntaxes...
I have tried putting it in:
<Install Location>/Packages
<Install Location>/Packages/User
<Install Location/Data/Packages
<Install Location/Data/Packages/User
%APPDATA%/Packages
%APPDATA%/Packages/User
The documentation seems to be bit light on how this works, but I'm hoping that someone can enlighten me!
The proper location for user-defined syntaxes, plugins, build systems, etc. is Packages/User, where Packages is the folder opened by selecting Preferences -> Browse Packages...*. I'm not on Windows at the moment, but I believe this is %APPDATA%/Sublime Text 3/Packages/User. Once you place the file there, it will be available from the syntax menu under User.
Also, please recall that .sublime-syntax files are only supported in the dev builds currently, and you need to be a registered user to run them. They will not work with Build 3083.

Cannot find the create package menu in Android Studio

I have a trouble to add a package under one of the flavor folder in Android Studio: after I right click on the java folder and I could not see the 'Package' or 'Java Classes' options there!
I did exactly the same for another flavor and it was fine.. Now I am stuck here, without knowing if it is a bug in AS or I did anything there. Anyone help me please!
(I googled it and did not solve it with what I have found so far)
=======EDIT========
I close the project and create a brand new empty project, now even in the main folder I cannot find the 'Java Classes' or 'Package' when I right click on the java folder I added.
However, if I just create the folders of the package under java with a class there, and do a build, it will finally recognize that and make java blue color and then I am able to see the menus if I right click the blue java folder.
So it sounds like some bug in AS.
It might just be the build flavor you are currently selected correctly to enable that flavor.
If we have two build flavor let's say free and pro. If pro is selected is current build flavor. The flavor free will not be shown as java package in blue color as you mentioned, it will be shown as directory structure. Hence change the build variant and make it workable.
Not sure if you faced the same issue, but sharing it for reference of others who might face this issue as i faced now.
Package option is available only for selected flavor. switch to desired flavor and IDE will refer that source directory and will convert it to package and directories from other flavors will be listed as normal directories tree structure.
I found this Solution.
File > Project Structure > Select the lib folder > Click on Sources > Apply and Okay
Now you can see the new package option by right clicking the lib folder, the new package option will be shown.
Step1
Step2
Step3
Control click (mac), or right click the /java directory and select Mark Directory As -> Source Root. You should then be able to right click the /java directory and select -> New -> Package. Your java directory will also appear blue.
Solution. File- Project Structure- Modules- Right click on lib - Select Sources.
then the option "Package" will appear on your list.

Visual Studio: Exclude From Project Quickly

I have got thousands of files/folders inside a solution. For some reason I have to exclude them all and then include again in the project, to get the latest list of files.
The normal "Exclude From Project" in visual studio menu takes too much time. Is there a quick way to do it?
Thanks!
Put them all into one master folder and include that folder.
If some are files, you may also want to compile them and include the DLLs or the equivalent in whatever language you're using.

Komodo Edit - how to add code completion to a my files

I am new to Komodo Edit. How can I add IntelliSense to my own files?
For example: myFirst.js that includes auto completion for objects or functions that were defined in mySecond.js?
Also, how can I add auto completion to my CSS file from my HTML file?
Another example: in Visual Studio I put this statement at the beginning of file2.js:
/// <reference path="../js/file1.js" />
And then I had IntelliSense for file1.js inside file2.js.
Open menu Edit → Preferences → Languages → JavaScript and specify directory with your source files.
Komodo will scan them for information about your functions.
As long as both files are under the same project, Komodo should automatically pick up on them and provide code intelligence. But make sure you are using a project and not just editing your files plainly as Komodo will not know how to associate your files.
Note though that if you are abstracting your JavaScript code too much that code intelligence will not be able to keep track of what you are trying to do. But you'd have to include some samples of your code for us to be able to comment further on that.
Also note this open bug, which may be related to your issue: http://bugs.activestate.com/show_bug.cgi?id=101646

Visual studio - set file location

I have a VS project, but I moved some source, resource files to another location.
It's not easy for me to readd all again (cause of filled properties tab for custom build tools, etc.)
Is there any easy GUI way to change the included source file path? In XCode it's easy to do this, but I don't see any way in Visual Studio (currently using 2012).
Do I have to rewrite the xml build file?
I have finally find it. Easiest way is to edit the xml file .vcxproj. I just have to manually find the paths (they are relative... i dont really know why Microsoft did this, it is so stupid) in that xml and edit it.

Resources