Giter Club home page Giter Club logo

phpstorm-spacepeacock's Introduction

PHPStorm-SpacePeacock v1.8

July 28th, 2014

A Sublime Text total-conversation for PHPStorm. With colors based on SpaceGray and Peacocks in Space and Sublime Text keymappings.

SpacePeacock Screenshot

Some syntax types have not been updated. I'd be happy to accept pull requests that updated unsupported syntax types to match the php styles. In general though, things work nicely.

Installation

  • Download this project (or just the .jar file) to your computer.

  • In PHPStorm under settings, choose the Darcula theme.

  • In PHPStorm, choose File -> Import Settings, and import the .jar file. (If you don't see the File menu, you may need to open a directory or a project first.)

  • Install the plugin ColorIDE to set the colors of the rest of the IDE.

If you are using OSX then you need import PHPStorm-SpacePeacock-osx-key-mappings.jar after importing the main theme. This will fix your OSX specific keybindings.

Font Rendering

The font used in the screenshot is Source Code Pro.

If you are using Linux then you may need to alter your bin/phpstorm.vmoptions (for 32-bit) or bin/phpstorm64.vmoptions (for 64-bit) to remove the useSystemAAFontSettings declaration and replace it with these three lines:

It's important that you back up your settings and compare the results both ways. In Ubuntu 13.10 these settings improved the display dramatically. In 14.04 these settings actually reduce the quality slightly.

-Dswing.aatext=true
-Dsun.java2d.xrender=true
-Dawt.useSystemAAFontSettings=gasp

Use Oracle's Java 8 if you want the best font rendering on Linux possible. More info here: https://intellij-support.jetbrains.com/entries/23455956-Selecting-the-JDK-version-the-IDE-will-run-under

Key Maps

The key mapping has been updated to better fit Sublime Text conventions. Because I didn't think that ctrl + shift + alt + t is a reasonable key combination for something as frequently used as Refactor This.

Additionally, "search everywhere" HAD to be changed because double-tapping left-shift is a two stroke trigger. This is a problem because as you're working the IDE will be busy with analyzing, indexing, and all of the things that IDEs do. If it's busy when you try to hit the first left-shift, then the second left-shift won't pop up the window. As far as user interfaces go, you should never have any lack of confidence that an action will trigger the appropriate response. Once you have that, you have to visually check each operation which is slow and creates cognitive overhead. Consequently, this was changed to ctrl + p (also to match Sublime Text) which completely removes this problem.

ctrl + p search everywhere

ctrl + r search methods in current file

ctrl + alt + p change projects

ctrl + shift + enter complete current statement

ctrl + alt + enter refactor this

alt + enter show intended actions (intentions are one of my favorite part JetBrains software)

ctrl + n new thing dialog

ctrl + shift + f format code

ctrl + d select word at cursor, or if a word is selected the select the next occurrence of the word (multiple-cursors)

ctrl + t run tests

ctrl + alt + h show local history

ctrl + alt + r git conflict merge tool

There are others, as I think of them, I'll add them here.

Changelog

1.1

add ctrl + n keystroke

1.2

change ctrl + p from search everywhere to search files (search everywhere is just too insanely slow)

add ctrl + shift + p for search everywhere

1.3

change name to SpacePeacock and rebrand as a total-conversion

1.4

enable smartquotes so that highlighting a string and typing a quote results in a quoted string

add a bit more contrast to the background for users without fully adobergb gamut compliant monitors

1.5

add OSX key mappings improve various templates

1.6

add more Linux-specific documentation upgrade to support ctrl + d mapping

1.7

ctrl + t now runs tests ctrl + alt + h now shows local history ctrl + alt + r now shows the git merge tool

1.8

Separate Styles / Keymaps files Add Blade Templating styles

phpstorm-spacepeacock's People

Contributors

fbrinker avatar mattstauffer avatar nickstr avatar

Watchers

Margarinas avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.