How to format source code in phpDesigner 7.x - phpdesigner

I am using phpDesigner and dont know how to format the source code in this IDE. Similar to right click and choose format in Netbeans (or Ctrl + Shift + F)
Does anyone know?
Thanks
Ok, I did it
For people who gets same problem: there are 2 ways
1. Press combination: Ctrl + Shift + F1
2. On the menu bar, select 'PHP' menu. Then select 'Code Beutifier for PHP' (the bottom option). Do the same with CSS and HTML

there is beautifier for JavaScript too, it is online http://jsbeautifier.org/
in PhpDesigner no such option.
javascript beautifier

Related

my HTML Shortcuts in VS Code are not working

I started studying HTML on YouTube not long ago and have been using visual studio code. Whenever specific shortcuts are used, mine does not work. An example would be typing the exclamation mark and then the tab button("!" + tab) to automatically give you the default HTML skeletal template.
Also, tag suggestions do not work. Whenever I start to type a tag like , I don't get any suggestions whatsoever and it leads to a lot of mistakes and confusion for me. Can someone help me, please?
CTRL + Shift + P
Change language mode
Click on "Configure file association for .html"
If you scroll down through the list, you will see a label "Current association" next to the file type that your file is currently associated to.
Change it to .HTML if that's what you want .html files to be associated to.
Close the file and open it again.
Try ! - a tooltip should now pop up and then you hit tab.
You can go to VS code and tap on setting will show a pop-up, choose Keyboard Shortcut will showcase you all the keyboard shortcut.
You only need to change languague on status bar (below) from Django html to html.
Now retype the shortcut i.e. "!+Enter"
Change Setting Emmet
Go to Setting , CTRL + , for shortcut
Type Emmet Tab on search bar
Enable trigger expansion on tab
Try type ! + Tab
Suggest
Type ! on HTML File
Press CTRL + SPACE, to activate trigger suggest
And Enter
HTML:5
Type html:5
Enter or Tab

Is there a keyboard shortcut to select a code from start to end in current line?

I know these shortcuts:
Ctrl + W: it selects code until the an space
Select line at caret (I don't remember its shortcut key): it selects whole line with extra spaces:
But I'm looking for a shortcut that only select code from start to end like this :
Different between "Select line at caret" vs Mine request:
differences
Well, Ideavim works on PhpStorm. Provides vim experience in InteliJ .
Using this plugin, <SHIFT-V> selects a line.
Just be aware that you might need to know vim to use it further.
Anyway, it is a cool plugin.

Search through methods in a class PhpStorm

I used to work in Eclipse and had this very neat hotkey (Ctrl + O) which is used to search through the methods within a class.
I mean, if you are in the editor viewing a source of a class, and if you hit Ctrl + O, a pop-up comes up with all the methods listed. The list will get filtered if you start typing in. If I type in get, I can see a list of getters..
This is very helpful. I moved to PHP and PhpStorm and I miss this feature here, or I do not know if PhpStorm has this.
Do you guys have any idea of such a key combo in PhpStorm?
I have never used Eclipse .. so not 100% sure how that popup looks and works .. but here is the PhpStorm functionality:
Navigate | File Structure (Ctrl + F12 using Default keymap)
Alternatively just use Speed Search (just start typing) in actual Structure panel.

Collapse all expanded sidebar folders in Sublime Text 2

Is there a menu option or keyboard shortcut to collapse all expanded folders in the sidebar? It gets messy over there and seems like there should be a better way than closing them one by one.
On OSX: option + left click at the root node.
On windows/linux: control + alt + left click
For Sublime Text 3 on Linux Mint 17.2 w/ Cinnamon I had to disable the following setting:
System Settings->Windows->Behavior->Moving and Resizing Windows->Special key to move and resize windows
After that Alt+left click worked!
Keyboard only
To collapse all expanded folders in the sidebar on macOS:
ctrl + 0: Focus the sidebar
home or cmd + up: Select first root folder
ctrl + left: Collapse all sub-folders (confusingly, not alt as per the equivalent mouse action).
(optional) right: Expand just the top level folder.
Thanks to the existing responses that provided this info.
I've not tested on other platforms, please update the answer if you can.
In Sublime Text 4, pressing "option/alt" on your keyboard and clicking a folder in Sublime's sidebar with your mouse, will collapse all sub-folders within the folder you clicked. I'm using a Mac. I'm not sure what happens on other operating systems.
using purely keyboard, on a mac, to unfold
CMD + K + 0
to fold, depending on the level of indentation
CMD + K + {level of indentation number} (eg. CMD + K + 2)
Refer here for more details functions of sublime text. Found this really helpful

Is There An Easy Way To Comment Out XAML Code in Microsoft Blend?

I've been using Blend 4 for a while, especially when customizing templates, and one thing irks me. There's no 'comment' button, so I can't easily wrap a highlighted section of XAML with HTML comments (<!-- -->).
Is there any workaround for this, or am I forever stuck having to type those.
NOTE: I did see a macro extension that allows you to open/close comment with a shortcut key, but sadly it doesn't install with my version of Blend.
Keyboard: CTRL + K, CTRL + C (comment)
CTRL + K, CTRL + U (uncomment)
Menu: Edit -> Advanced -> Comment Selection
Edit -> Advanced -> Uncomment Selection
Try
View-->Toolbars-->Text Editor
Would add the toolbar that has comment out and uncomment buttons.
Have a blessed day!