CLion 1.2 EAP 143.116.8
As usual, a new week brings a new EAP build. Download it from our confluence page or get a patch update, in case you are using previous EAP build.
See complete release notes here, and read about the most notable changes:
CMake updates
This build brings you Live Templates for CMake. That means that you can create frequently-used or custom code constructs in CMake with ease now. Find some pre-defined templates or create your own:
To use the template simply type the template abbreviation (completion will help you with the possible options):
and then press Tab
(or any non-default key you’ve configured) to expand the template:
We are also currently working on extending the completion possibilities in CMake files. You can already try the completion for CMake variables with static names (completion for variables with dynamic names are still in progress). When using in set/unset commands press Ctrl+Space
to get the completion. Middle matching will be working together with the usual prefix matching:
When using after "${"
the completion list will appear automatically. Middle matching is working as well:
Language fixes
- Missing return from int main() is not reported as a problem now.
- This build fixes a syntax error when std::move() is used (CPP-731).
and more.
Look&Feel on OS X
In case you are working on Mac and using a Default Look&Feel scheme you’ll notice some changes in the interface like updated UI spinner, buttons, progress bars and default UI font set to Helvetica Neue Regular. By the way, to switch between Default and Darcula schemes simply press Ctrl+ ` (Back Quote)
and select Look and Feel option in the switcher.
Sincerely yours,
The CLion Team
Thomas Johnson says:
October 9, 2015Are you still planning to release Google Test support in 1.2? I see it keeps getting pushed back in the bug tracker
Anastasia Kazakova says:
October 9, 2015We do our best and keep working on it currently.
Gamadril says:
October 10, 2015After the update the lua plugin does not work any more. After uninstall of the plugin it is not even lised in the repository.
Anastasia Kazakova says:
October 10, 2015Looks like Lua plugin is not supporting the current IDE’s branch (143). But it’s a 3rd party plugin, so we’ve added a ticket to the author’s tracker: https://bitbucket.org/sylvanaar2/lua-for-idea/issues/182/make-plugin-compatible-with-the-latest-ide. Feel free to comment there.
Sebastian says:
October 11, 2015Great update Anastasia,
I have two questions for you:
1. Are you planning to include some parser fixes for the preprocessor for 1.2, especially better handling of # and ## operators, so that functions defined with these operators are not marked as unused anymore?
2. Is there a public API that allows writing custom language plugins for CLion and use C or C++ language injections? If so, do you have a wiki or confluence page that explains how to do that?
Cheers
Sebastian
Anastasia Kazakova says:
October 12, 2015Thanks.
1. Is it logged into our tracker? It not, please, add (with a code sample). https://youtrack.jetbrains.com/issues/CPP
2. Yes, there is a public API. In general plugin API is described here: https://www.jetbrains.com/idea/plugins/. Some similar questions could be found in the corresponding forum: https://devnet.jetbrains.com/message/5445198. Feel free to leave your questions there as well, if you have an.
Sebastian says:
October 13, 2015Re 1: Yes its logged, see here: https://youtrack.jetbrains.com/issue/CPP-4430 and its possibly a duplicate of https://youtrack.jetbrains.com/issue/CPP-2268
Re 2: Thanks, I will take a look at those links.
Anastasia Kazakova says:
October 13, 2015Thanks, we’ll check if it’s a duplicate and see what we can do.