SlickEdit Editor Notes
SlickEdit is a paid multi-platform IDE / text editor. (Googlers have a site license) with many features. Notably:
- Chromium code is indexed rapidly (faster than Eclipse) and setup
to do so is simple.
- 'Goto Definition', 'Goto Reference' work well across multiple languages
- Generally competitive features to Eclipse, but much faster. Visual Studio users will find many features they miss as well.
- Minimum project configuration required, easily works with files not 'in project'.
- Many strong GUI IDE features:
- Tiled tab groups
- Find replace with RegEx etc
- Multiple cursor & block edit modes
- Highly customizable and scriptable.
- Source control integration
- With more setup, debugging and in-IDE builds can work, but the setup complexity may not be worth it.
Settings
- Context tagging is much faster with multiple background threads.
In settings search for and set:
- Number of tagging threads to start: 8
- Create dedicated tagging thread for reading: Off
- Languages: Applications: C/C++: Formatting: Google Style
Project & Workspace
- Create a Workspace
- Project: New: Workspace: Blank
- Give it a name that will be different than the project, so that you can later create other projects that include the same project and not have the project & workspace tag file names collide.
- src/.. directory is a reasonable place to create this.
- Files will be created:
- workspace.vpw (tiny config listing the projects included)
- workspace.vpwhistu (window layout, etc)
- workspace.vtg (tag file, can become large though settings below will keep it small)
- Create a Project
- Project: New: Project: (Other)
- Name it uniquely from the workspace.
- Files will be created
- project.vpj
- project.vtg (if you change the project setting, as below, and will be large)
- Change project setting to add tag files to a project specific
tag file.
- (Done on project settings, Files tab, bottom of dialog)
- This will allow you to quickly switch between multiple workspaces having different saved window layouts without incurring a cost to re-tag the project.
- Add Tree...
- For each sub-path of interest (all of 'src' would be
overkill, but you can include most of it. Come back and add
directories as you have the need):
- Select src/directory of interest
- exclude: .svn/;.git
- Select 'Add as wildcard'
- For each sub-path of interest (all of 'src' would be
overkill, but you can include most of it. Come back and add
directories as you have the need):
- https://github.com/scheib/chromium-config has an example, you may copy paste the project folders to your own to bootstrap.
- Optionally create additional workspaces to make it easy to switch
between tasks with many files open and tiled window layout saved.
- StackOverflow answer on How to save and restore window layout in SlickEdit?