In Flex Builder, what's the shortcut key to switch perspective? - actionscript

Hi anyone know? In Flex Builder, what's the shortcut key to switch perspective?

Ctrl+F8 to switch perspectives is the default shortcut for Flash Builder.

I think you'll have to set a shortcut under Preferences -> General -> Keys -> Show Perspective {perspective name}

Related

How to change color of access modifiers (private, public etc.) in Visual Studio 2019

I'm out of ideas. I tried almost all to change color of access modifiers in Visual Studio 2019, however non of my tries was successful. Via Tools-Options-Fonts and Colors-Text Editor I looked for any sign of that color, but no luck. Please, do you have any idea? Just for illustration, I'd like to change that "too gray" color of "private" access modifier. The same color is also in method declaration.
Thanks for any advice.
With few more research I have found solution. It may be useful for someone. If you have installed extension "Viasfora" in Tools-Options-Fonts and Colors-Text Editor look for key "Viasfora Visibility Keyword" which is by default dark gray, but with color modification you get exactly what I have been looking for. You can change color of all access modifiers.
Tools -> Options -> Environment -> Fonts and Colors -> Display items -> Keyword

Xcode change Command+click to Control+click

I want to change the default shortcut key for open the relevant source code (now it is Command+click) to Control+click (like other IDE: Eclipse,AndroidStudio)
I have tried to find in Xcode->Preference->Key Bindings but can not find the command for change Command+click
How can I change it. Any help or suggestion would be great appreciated.
For Xcode only , you can't change Command + Click to Control + Click.
If you want to change your MAC Shortcut Key then you can Change it from
Goto System Preference -> Keyboard -> Modify Keys then update your shortcut key according to your preference.
Go to Xcode->Preference->Key Bindings, search for Jump to Definition. Update the shortcut key according to your preference.
go to Xcode -> Preferences and select Navigation tab. In the Command-click on Code: change it to Jump to Definition from Selects Code Structure.

Applescript code completion shortcut

I'm new with applescript and this may seems dumb... but I have no clue at how to auto complete the code completion in the editor!?
I checked the option Use Script Assistant in the preferences.
For exemples When I create a new variable then I start to write it later in the code I can see in light grey color the word I want to auto complete.
But what is the shortcut to auto complete it? I tried spacebar, enter, shift + arrows... and so on
but have no clue
thanks for your help :P
You can use Script Assistant's Auto-Completion with the Option + Esc key.
It probably changed whith sierra or High-Sierra :
It's now option + escape keys.
Personally, I don't like the Escape key to auto-complete.
To add your own key to auto-complete, go to
System Preferences > Keyboard > Shortcuts > App Shortcuts
and add an entry for Script Editor (select "Other" and then go to Utilities in Finder) named Complete. You can then choose your own shortcut to auto-complete in the Script Editor.
Here's a screenshot for Ctrl + Space.
The menu shows option + esc will auto-complete and it seems that just esc will as well but, the esc key to me is "escape", meaning "stop current computer operation" so it feels like I am trying to not accept auto-complete!
Instead, using the keyboard shortcuts and adding a shortcut of command+return to accept the auto-complete feels natural during typing...
Here is a visual setup:
(in Big Sur, same action, different look in earlier macOS versions)

Automatically populate Cases in a Switch statement based on the values in an enum

Is there a quick way to fill the cases in a switch statement in Xcode? I figure if an enum value has 6 possible cases, all 6 cases could easily be pre-populated based on the typedef.
Sorry, but no. You can cut and paste, but that's about it.
This is possible in Xcode by installing a plug-in called SCXcodeSwitchExpander:
https://github.com/stefanceriu/SCXcodeSwitchExpander

Resharpers smart code completion CodeRush equivalent

I am currently switching from Resharper to CodeRush.
One thing I used a lot in Resharper is the "smart code completion" (Ctrl+Alt+Space) so that in e.g. switch case I could hit the shortcut and Resharper would automatically provide a list of the type that I was switching (typically enums).
Does Coderush have a similar feature?
Copy the enum variable you wish to switch on, to the clipboard.
Type sw[space]
CodeRush will build you a switch statement with cases for each enum value.

Resources