Editing code mastering code input and navigation Disclaimer: This document is provided “as-is”....

Post on 19-Jan-2016

220 views 0 download

Tags:

Transcript of Editing code mastering code input and navigation Disclaimer: This document is provided “as-is”....

editing codemastering code input and navigation

Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and Windows Live are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners.

action editoro swipe left, right

to cycle through actions/events

o pinch to display the list of action/events

action editoro + to add a new

expression at the insertion point

action editoro if+ to open the

statement menu at the insertion point

statement menuo drag up and down

to move selected statement

statement menuo select more to enter selection

modeo drag up and down to change

selection

statement menuo refactoring of selection

• cut, copy

• extract to action

• embed (…) into if/for/while

expression editoro swipe up and down in

the expression to move the view

expression editoro tap in the empty area

to display a quick insertion menu

expression editoro fix it performs context

sensitive refactoringo “create local fix it”

stores the current expression into a new local variable

expression editoro tap tokens to selecto tap help to read moreo when token is

selected, select refactorings from menu, e.g. extract to local

expression editoro tap on local variableo promote to global

variableo rename variable

expression editoro intellibuttons

are context sensitiveo reorganized

based on your usageo next suggestions

(wraps)o explore all

expression editoro art pado operator pado arithmetic pado number pad