Showing posts with label xamarin-studio. Show all posts
Showing posts with label xamarin-studio. Show all posts

Wednesday, April 5, 2017

Hands on Xamarin Platform Pipeline - Develop - Let's explore some nice features of Xamarin Studio 6

This is not the post that logically follows the the previous one but I suggest to read it. In this post we'll take a break and explore some nice features of Xamarin Studio 6.

General functionalities

Dark theme is one of the new features, in preferences then Visual Style.
We can configure the desired code formatting between Visual Studio Style, Mono Style or Custom Style. To do this: preference, source code, code formatting then Text file where we can define the Policy, use 4 spaces instead of tabs... Just make sure to have the other types (XML, F# and C#) use the default behavior of Text file.
Global Search can be used to search for everything inside the workspace: files, Xamarin Studio functionalities & commands...
When we copy a piece of code, it will be saved in the clipboard inside the toolbox. This piece of code can be dragged and dropped to a source code file.
When we search for something we can pin the results to save them and do other searches.
We can highlight the current line, show invisible characters (like spaces for example).
We can go to a declaration just by hovering it using the cursor and Command+D keys or mouse clicking and Command key. Also, we can use the next-back buttons to navigate next and back.
We can have multiple windows in case we work in multiple monitors. Just drag the document outside the IDE.

We can also have a side by side view for comparison needs for example, just drag the document.

Code completion and analysis

Thanks to Roslyn processor, the code completion becomes asynchronous as well as live code analysis that shows up: warnings in orange and hints in green color.
Select the warning and the hint then hit Alt+Enter to see suggestions about the solution.

Activate fix imports option in order to have the imports added automatically while writing the code.

Refactoring options

alt-up down to move the current line.
We can also select by logical scope using alt-shift up down then alt-enter to have refactoring suggestions.


Please note that we can create a bug in Xamarin Studio BugTracker as well as suggest new functionalities in Uservoice.