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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?