What's New in Oracle® Solaris Studio 12.4

Exit Print View

Updated: December 2014

New and Changed IDE Features

The following features were added or changed in Oracle Solaris Studio IDE:

  • Debug executable binaries that are not in an IDE project (Projectless Debugging). You can debug an executable by choosing Debug > Debug Executable and specifying the path to the executable and any arguments or environment variables needed to run it. You can also navigate to the executable file in the Favorites window, right-click the file and select Debug. The executable does not need to be part of an IDE project, but it should be located with the source code that was used to build it so the debugger can find debugging information.

  • C++11 support. If your code uses the C++11 standard and your C++ compiler has implemented the C++11 standard, you can enable C++11 support in the IDE. This enables you to use code assistance for features such as the "auto" specifier, for example. To enable C++11 support for a project, right-click the project, select Properties and then select Build > C++ Compiler > C++ Standard > C++11. To enable C++ support only on an individual file, right-click it, select Properties and then select C++ Compiler > C++ Standard > C++11.

  • Memory usage improvements. The memory usage for big projects has been reduced by 50%.

  • Faster searching. Find Usages is much faster and has an improved interface. Find Usages now runs in the background so you can do other tasks while it is searching a large number of files. The results are displayed immediately in a separate Usages panel and continues to display search results as they are incrementally found. The Usages panel provides a progress indicator and an incrementing count of occurrences. You can stop the search at any point and your search results up to that point are saved. You can navigate between the search hits, change the view from logical to physical, and run Find Usages again with different settings. Also, you can add filters to your searches and search in comments.

  • Lightweight partial reparse. Editing a source file with a large set of dependencies is now much faster because of improvements in reparsing. Changes such as reformatting, editing inside function bodies, and adding comments or spaces no longer cause the full project to be reparsed. Certain changes cause the IDE to reparse the whole project.

  • Debugger breakpoint groups. You can group breakpoints using several different categories, such as per file, per project, by type, by language, etc. In the Window > Debugging > Breakpoints window, click the Select breakpoint groups icon, and select the breakpoint group. The breakpoints are arranged according to your selection.

  • Window management and grouping. You can perform actions on groups of windows in addition to individual windows. Each window belongs to a group that you can minimize/restore, drag to a new location, float in a separate window, or dock back into the IDE window. For example the Projects, Files, Classes, and Services windows in the top left can be minimized by clicking the Minimize Window Group button on the right side of the group. Right-click in the tab area of the group to select an option for the group, or choose Window > Configure Windows. Options for controlling window behavior are in Tools > Options > Appearance > Windows.

  • Copy file path to clipboard. You can hover the mouse cursor over any file in the IDE and press Alt+Shift+L to copy the file's path to the clipboard.

  • Launchers feature. See New Launchers Feature in IDE.

  • Improvements in code editor. See IDE Code Editor Improvements.

  • Improvements in code assistance. See Code Assistance Improvements.

  • Breadcrumbs. See Using Breadcrumbs Navigation.

  • The IDE's Action Items window now works with C/C++ projects. The Action Items window shows lines in your source files that you've marked with comments like TODO or FIXME or Pending or <<<<<<<<.The strings detected are specified in Tools > Options > Team > Action Items. For C/C++ projects the Action Items window also shows compile errors and warnings that occurred when you last built the project.

  • Improved support for version control systems:

    • Git repository support.

    • Local history : revert deleted and new History tab.

    • Shelve changes: allows you to put your local changes aside (shelve) and start working on a different feature. For Mercurial and Subversion, see Team > Shelve Changes menu option.

    • Mercurial enhancements: basic support for branches and tags and queues.

  • New solstudio command line options.You can open and close project groups as the IDE starts using the –-open-group and –-close-group. options.

  • Bookmarks update. Bookmarks view can be opened using Window > IDE Tools > Bookmarks and you can create bookmarks using Ctrl-Shift-M in your files.

  • Auto-completion in Search bar by pressing Ctrl-Space. When you are searching in the editor, you can auto-complete your search term, the same as you would in get in the editor.

  • The concept of the "main project" is no longer used for most tasks. You can still set a main project using Run > Set Main Project.

  • Find options more easily. The Tools > Options dialog provides a search box to help you find options more easily.

  • Toolbar interface improvements. The main toolbar indicates when some toolbar items are not visible by showing drop-down lists that enable you to access the buttons that are invisible. Previously, if you had too many toolbars enabled, you could not see them all.

  • Compile a single file from a project with existing code.

  • C/C++ Formatting style per project. When you are choosing a project specific formatting style in project properties, you can specify the C formatting style, C++ formatting style, and the C/C++ header formatting style.