• Stars
    star
    312
  • Rank 134,133 (Top 3 %)
  • Language
    Shell
  • Created almost 11 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An attempt at a decent looking PHPStorm setup.

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

More Repositories

1

database-backup

A database backup package.
PHP
126
star
2

vagrant-chef

My Chef cookbook collection along with some example Vagrantfiles
Ruby
111
star
3

laravel-form-base-model

A base model for forms.
PHP
97
star
4

tetris

PHP
32
star
5

laravel-closure-compiler

Closure-compiler bundle for Laravel.
PHP
21
star
6

laravel-eloquent-base-model

An Eloquent base model for Laravel.
PHP
15
star
7

tdd-kata

This repository is a PHP-based starter-kit for TDD Kata.
PHP
15
star
8

laravel-vanilla-integration

A Vanilla Forums Integration Bundle for Laravel Applications
PHP
15
star
9

avoiding-unified-data-models

This is the application built for the talk Avoiding Unified Data Models.
PHP
13
star
10

laravel-presentable

Presenter classes for Laravel
PHP
11
star
11

using-doctrine

Simple Doctrine Examples
PHP
10
star
12

php-telegram-pro

PHP
8
star
13

transaction-processing-example

Slammed together PHP code to serve as an example for conversation.
PHP
8
star
14

scala-event-sourcing

a hyper-minimalistic event-sourcing example
Scala
5
star
15

equipment-rental

an exercise in modeling
PHP
3
star
16

dotfiles-old

Shell
3
star
17

Conspicuous-Molyjam2013

A game created for Molyjam 2013 over two days by a team of four.
Haxe
3
star
18

shit-talk

A bare-bones project to bring google's speech-to-text to my desktop.
Ruby
3
star
19

laravel-slugs

An automated slug system for Laravel 4.
PHP
3
star
20

minimal-php-postmark-sdk

A minimal PHP Postmark SDK that enables you to send single and batched email through the PostmarkApp.com service.
PHP
2
star
21

modeling-kata-november-tic-tac-toe

PHP
2
star
22

old-lio

the old nextversion used to learn about some patterns (eventually dumped)
PHP
2
star
23

elastic-bash

I just don't know why anyone would make an ElasticSearch API with BASH.
Shell
2
star
24

event-sourcery-course-order-fulfillment-example

CSS
2
star
25

Component-Entity-Framework

C#
2
star
26

BraveTranslatorChromeExtension

A quick way to translate full pages in Brave / Chromium. Click the icon or Ctrl + Shift + 2.
JavaScript
1
star
27

game-prototyping-language

1
star