๐Ÿ“œ โฌ†๏ธ โฌ‡๏ธ

AppCode release 2016.1: improved support for Swift and C ++

Hi, Habr!

Last week AppCode 2016.1 was released . Initially, we announced it as 3.4, but then, together with other desktop products, JetBrains switched to a new versioning scheme and now we will use it.


')
Since the release of version 3.3 , two more minor releases have passed, in which many useful things have appeared (for example, Evaluate Expression and Set Value for the debugger in Swift). In 2016.1, we mainly continued to work on Swift support - and this is what happened.

Swift


Now AppCode can correctly handle the following language constructs:


Code folding in Swift


Now declarations in Swift code can be minimized if necessary. This can be done in several ways:


CocoaPods support


Starting with version 2.5 , the AppCode has a built-in CocoaPods manager that allows you to create pod-files directly from the IDE, highlights the syntax in them, shows auto-completion for keywords and helps you monitor the relevance of dependencies for a project, showing at the right time the intention or inspection (for example , that there is a new version for a specific library). In this version, we decided to update the list of auto-completion for keywords in pod-files and added the missing ones, such as:


You can see how it all works in a short video below:



Build messages


In AppCode, there is a Build messages ( โŒ˜0 ) window that shows build messages for a specific project. For projects written in Swift, part of the messages that xcodebuild generates during the build (namely, it is used in the AppCode to build projects), were not quite correctly processed, which for obvious reasons did not like a large number of users. We fixed it in 2016.1 - now errors, warnings and messages like note displayed much more clearly and conveniently.

C ++ support and project directory management


All changes and improvements to working with C ++ code implemented in the latest version of CLion are also included in the new version of AppCode. This applies to the support of the variadic templates , and to the display of documentation for the code, and to the improved work of auto-import for symbols from STL . The reason is simple - the part of the functionality related to editing C ++ code is the same for both products and is used by each of them.

Therefore, we will not repeat ourselves and offer those for whom changes in C ++ support are important to read about them in the excellent post anastasiak2512 . Note also that the Mark directory as ... menu, which allows you to further control the indexing of various project directories and the work of refactorings in them, is available in AppCode in the Files mode for the project navigator ( โŒ˜1 ).

Other changes



You can read about these and other product features on our website , you can follow the updates in our English-language blog , and right now we are traditionally ready to answer any of your questions in the comments to this post.

Source: https://habr.com/ru/post/280972/


All Articles