Is there a feature in JetBrains AppCode allowing to display automatically the .h associated with the opened .m file (and the other way around).
The associated file would be displayed in a tab of a splitted window (Available through the AppCode menu "Window > Editor Tabs > Split Vertically").
I'm looking for a feature similar to Xcode "automatic counterparts" feature (see picture http://i.stack.imgur.com/tbH8r.png )
I don't think this is possible in an automatic way. But BTW: Xcode almost never displays what you need in the Assistant Editor.
Similar to Xcode, it's possible to switch between .h und .m files with a key command. Having switched, you might want to open e.g. .m file in a split editor (as you described it). Then simply switch back to the .h file in the original window - and there you are.
It takes some more time to get into AppCode. But it's worth it.
Related
Today's Android Studio Tip of the Day...
You can exclude any file from your project. As a result, such a file will be ignored by indexing, inspection and code completion.
In the Project tool window, select the file you want to ignore, and choose Mark as plain text in its context menu.
If necessary, you can always return the file to its original type using the Mark as context menu command.
If this means View >> Tool Windows >> Project I could not find this useful functionality. Any pointers??
Yes, it's in View → Tool Windows → Project. But not every file has this option. XML-files do, Java-files do not. The option is right under "Delete...".
Is there any way to get Sublime to open all files of a certain extension in the same window? For example, when using a 2x2 grid, I'd like to keep all SCSS files in the upper left, all HAML in upper right, JS lower left and search in lower right. I'd like to use the search function, and have files go to the other three tabs instead of the search window each time.
I've tried the 'open in relevant window' plugin and it doesn't appear to make any difference.
When opening lots of files it gets very tedious opening them and having to manually move them to a window that wasn't active when opening.
Edit: I'm working on a Mac, so I'd need something that works there, or preferably cross platform.
Edit: Op is working on a Mac, I'll leave this in case any windows users are interested in this solution.
---
Perhaps an extra shell extension would help.
If you're familiar with the Registry, you can create a new key that opens all selected files in a new window. Simply create a modified version of what Sublime Text already has.
The existing key for Sublime Text exists here:
HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text\command
With the default value of (depending on version):
C:\Program Files\Sublime Text 3\sublime_text.exe "%1"
You could create a new key like so:
HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text (new window)\command
Then add the -n arguement to the default value:
C:\Program Files\Sublime Text 3\sublime_text.exe -n "%1"
This will create a new window every time you use the shell extension to open files and will keep multiple files organized in the same window.
To take this a step further, if you have any programming experience you could create your own shell extension which takes a list of files and groups them for you, which then in turn can create the new windows programmatically.
I really want a way to switch programming contexts quickly without hunting for windows that I've left strewn about. What would be nice is a command line tool to let me switch between different patches that I might be working on, and automatically open the sublime text workspace that I had open the last time I was working on that patch. The issue is that in order for the tool to know about the workspaces associated with said patches, it either needs to be told about them explicitly, or it needs to be able to tell sublime to save the current workspace with a specific file path.
Sublime does have a save_workspace_as command, but it opens a saveAs dialog, which is not what I want, and I can't seem to find any documentation that suggests that save_workspace_as can take an argument.
Any ideas?
I have about 19k lines of configuration files (actually in a DSL - Nagios) that I need to do a bunch of analysis on, come up with a refactor plan, and then implement.
I'm looking for - but not finding - a GUI text editor for Linux that supports global bookmarks - i.e. I can click on a line, give it a name/tag, and have it show up in a global list that I can click on and then jump back to. The key point is that it has to work across files, so I can jump from a location in one file to the corresponding location in another.
Since it's a DSL, I haven't been able to find any IDE that natively supports the language. I've tried Kate, but the bookmarks list is per-file only, and "tags" each line with the text of the line itself, no way to add a custom note.
Is anyone aware of an application that meets this objective feature set?
You can use the Eclipse IDE. Add both EclipseColorer - for syntax highlighting (try the .ini file format) and Eclipse Color Theme plugins. Together, these plugins work quite well for highlighting Nagios config files. It does the bookmarking and has a separate view port, that is detachable, to easily navigate them - even in multiple files.
I'm trying to make Android app with VS2012+Xamarin.
As a WPF programmer, I usually toggle Design/Code with F7/Ctrl+F7 during XAML editing.
However, I cannot find in axml editting. (I use 'Open With...' to call XML editor).
I found Xamarin Studio has this button at the bottom left corner of the editor.
Does Xamarin+VS miss this feature? or is there any keyboard shortcut?
As there's no formal link between a layout file (the .axml file) and an Android Activity class, there's no real way for it to know what you'd want to switch to/from.
A single Activity might use more than one layout file or a single layout file might be used by more than one Activity.
I usually just arrange the tabs so that the layout file and Activity class are next to each other.
This is an old one, but if you "Open With" the .axml file with
Automatic Editor Selector (XML)
Or via Resharper CNTL-T
there is a chance it will just open in XML view with no obvious way to get to Design mode.
If you "Open With" -
Android Designer (probably then Set As Default)
Then opening the file from VS (2015 at time of writing) will open in design mode and you can switch back and forth.