PHPStorm-SpacePeacock

An attempt at a decent looking PHPStorm setup.

  • 所有者: ShawnMcCool/PHPStorm-SpacePeacock
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

PHPStorm-SpacePeacock v1.8

July 28th, 2014

A Sublime Text keybinding and keymap total-conversion for PHPStorm, RubyMine, IntelliJ IDEA, PyCharm, WebStorm, CLion and ReSharper. 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.8

Separate Styles / Keymaps files
Add Blade Templating styles

1.7

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

1.6

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

1.5

add OSX key mappings
improve various templates

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.3

change name to SpacePeacock and rebrand as a total-conversion

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.1

add ctrl + n keystroke

主要指標

概覽
名稱與所有者ShawnMcCool/PHPStorm-SpacePeacock
主編程語言Shell
編程語言Shell (語言數: 1)
平台
許可證
所有者活动
創建於2014-02-02 22:14:23
推送於2017-12-06 10:19:58
最后一次提交2017-12-06 11:19:57
發布數8
最新版本名稱1.8 (發布於 2014-07-28 13:32:32)
第一版名稱1.1 (發布於 2014-02-05 13:02:10)
用户参与
星數310
關注者數16
派生數35
提交數89
已啟用問題?
問題數8
打開的問題數5
拉請求數12
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?