Skip to content

Instantly share code, notes, and snippets.

@GideonBabu
Last active January 30, 2020 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GideonBabu/f288090636001cf062e7c99e285b936d to your computer and use it in GitHub Desktop.
Save GideonBabu/f288090636001cf062e7c99e285b936d to your computer and use it in GitHub Desktop.
PhpStorm tips
You can compare two table structures and see the differences in columns, keys, indexes, and other structural table elements. In the Database tool window (View | Tool Windows | Database), select two tables. Right-click the selection and navigate to Compare Ctrl+D.
To compare contents of two tables, right-click two tables and navigate to Compare Content.
+++
You can add a brief description of any breakpoint to ease search in future.
Press Ctrl+Shift+8 to view all existing breakpoints, then right-click the breakpoint you want to provide a description for, and choose Edit description
+++
The format of a regular expression can be rather complicated. To make sure you didn't miss some slash or quotation mark, place the caret within the expression you want to check, and press Alt+Enter.
In the pop-up frame type a sample string that should match your regular expression. If the background turns green, the match occurred. If it turns red, your expression probably contains a mistake.
+++
A special variant of the Code Completion feature invoked by pressing Ctrl+Space twice allows you to complete XML tag names from namespaces not declared in the current file. If the namespace is not declared yet, the declaration is generated automatically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment