phpstorm

Ubuntu 安装PhpStorm

独自空忆成欢 提交于 2020-01-20 04:45:11
1、检查你的Linux系统是否有Java环境  切换到终端输入命令  Java -version 如果有Java环境,则直接进入3.安装PHPstorm 2、安装Install Oracle Java 8 on Ubuntu 16.04/17.04 sudo apt-get remove openjdk*添加PPA并使用以下3个命令安装Oracle Java 8 sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install java-common oracle-java8-installer在安装过程中,您将需要接受Oracle许可协议。 一旦安装,我们需要在Ubuntu 16.04 / 17.04上设置Java环境变量,如JAVA_HOME。 sudo apt-get install oracle-java8-set-default source /etc/profile3、在Ubuntu 16.04 / 17.04上安装phpstorm下载安装包 wget https://download-cf.jetbrains.com/webide/PhpStorm-2016.1.2.tar.gz切换到下载目录,然后使用以下命令解压缩.tar.gz文件: tar xvf

Linux Mint17.1安装PHPStorm8.0.2

 ̄綄美尐妖づ 提交于 2020-01-20 04:43:41
phpstorm是用JAVA开发的,所以在安装之前需要先安装jdk 1 sudo apt-get install default-jdk 从官网上下载phpstorm 的linux版本 http://www.jetbrains.com/phpstorm/download/index.html 最新8.0.2版本,解压压缩文件 1 tar xfz PhpStorm-*. tar .gz 进入phpstorm的bin目录执行安装脚本 cd PhpStorm-* ./PhpStorm.sh 安装程序开始启动,在安装过程中需要输入注册码(可选) User name:EMBRACE License Key: ===== LICENSE BEGIN ===== 43136-12042010 00002UsvSON704l"dILe1PVx3y4"B3 49AU6oSDJrsjE8nMOQh"8HTDJHIUUh gd1BebYc5U"6OxDbVsALB4Eb10PW8" ===== LICENSE END ===== 然后一路确定直到看到下面的图片,那么你就安装成功了。 ************更新-2014-12-31******************* 注意:phpstorm7,8要求jdk 6以上版本,ubuntu默认安装jdk6 可以通过下面的方式安装: 1 sudo add

phpStorm //todo 的用途

為{幸葍}努か 提交于 2020-01-18 23:27:36
用phpstorm看到别人的代码使用了注释//todo,且todo是彩色的 我想这个应该是有点用的吧,于是百度了下,大概是可能由于某些原因,导致部分代码没有写.但又怕忘了, 用//todo就可以做提示. 在phpStorm使用快捷键alt+6 就可以看到文件中哪些地方使用了//todo 方便你补全代码. alt+6 可以查看添加了//TODO注释的代码片段 一般我们在开发过程中由于时间或者各方面的时间来不及完成的代码,往往会先将逻辑写出来,实现留待以后添加的内容都会加上//TODO注释 部分参考: http://www.tuicool.com/articles/iMzAZb 来源: https://www.cnblogs.com/buyucoder/p/5106545.html

Unable to debug using PhpStorm with EC2

好久不见. 提交于 2020-01-16 08:40:33
问题 I am trying to configure PhpStorm on my local machine and repository is on Amazon EC2. I used SSH tunnelling also but unable to debug using remote debugger. Here are my configuration files I have placed same configuration in /etc/php-5.6.d/xdebug.ini /etc/php.ini zend_extension=/usr/lib64/php/5.6/modules/xdebug.so xdebug.remote_enable=1 ; Enable xdebug xdebug.remote_autostart=Off ; Only start xdebug on demand, not on every request xdebug.remote_host=127.0.0.1 ; This is unused if the next

PhpStorm 6: simple single line for cursor

六眼飞鱼酱① 提交于 2020-01-16 00:53:11
问题 I don't like using PhpStorm with the giant block as a mouse or keyboard cursor. I would like to switch it to a simple single line. My copy of PhpStorm on another computer does not look like this. Any ideas how to disable it so it's a simple single line? 回答1: Disable the Use block caret option in settings: 回答2: Press Insert on your keyboard (again) ;) 来源: https://stackoverflow.com/questions/18433867/phpstorm-6-simple-single-line-for-cursor

Comment nested module class with JSDoc3

断了今生、忘了曾经 提交于 2020-01-14 03:06:29
问题 I'm dealing with a module pattern in WebStorm's live inspection that I'm trying to comment. And I don't want to use AMD/CJS. ; My = (window.My || {}); My.Module = (My.Module || {}); My.Module.MyClass = (/** * * @param {My.Module.MyAnotherClass} MyAnotherClass */ function (MyAnotherClass) { 'use strict'; /** * @class */ var MyClass = function() { // constructor }; /** * My sexy method. * @param {string} s */ MyClass.prototype.myMethod= function(s) { var test = new MyAnotherClass(s); }; return

phpStorm

随声附和 提交于 2020-01-14 00:03:01
php文件左侧显示方法折叠 大写键 + Alt + 7(&) Git配置使用 phpStorm 的 Terminal 默认使用的是window自带的命令行,想要使用bash命令做如下配置: 在IDEA中,打开settings,设置相应的bash路径 settings–>Tools–>Terminal–>Shell path 然后在 C:\Users\v_hmfeng 目录下 新建两个点文件 echo >.uzuzuz windows系统创建点文件 .bash_profile if [ -f ~/.bashrc ]; then . ~/.bashrc; fi .bashrc alias ls=‘ls -F --color=auto --show-control-chars’ # 使用ls命令的时候加上颜色 export LC_ALL=zh_CN.UTF-8 # 设置终端打开的编码 alias ll=‘ls -la -F --color=auto --show-control-chars’//注意这里的双引号 是英文双引号 可以再设置下console字体大小风格颜色等。。 来源: CSDN 作者: wzerofeng 链接: https://blog.csdn.net/weixin_38385580/article/details/89962650

How to open a project in PhpStorm using command line

元气小坏坏 提交于 2020-01-13 19:57:52
问题 I am using Git Command Line, Homestead, Windows 10, PhpStorm 2017.3. I want to open any project in PhpStorm using git bash /command line. 回答1: Just pass FULL path to the project root folder as parameter to PhpStorm executable file -- IDE will either open existing project (if .idea subfolder exist) or will create brand new project from those files. It works the same as if you would use Open from within PhpStorm and point to such folder. An example: "C:\Program Files\JetBrains\PhpStorm\bin

PhpStorm terminal : Cygwin colors does not work

旧街凉风 提交于 2020-01-13 19:19:29
问题 I have PhpStorm 2016.2 and I added Cygwin in the Shell path as follow : "C:\cygwin64\bin\env.exe" CHERE_INVOKING=1 /bin/bash.exe It's working well, but the colors do not work. For exemple I have ?[32m Name instead of having Name colored in green. I tried several things like adding the plugin Grep Console to have the support of ANSI Color, but didn't work. It's really hard to work with lines with multiple ANSI colors ?[39m ?[32m Scheme ?[39m ?[32m Host ?[39m ?[32m Path . Do not hesitate to ask

Debug Symfony2 in Docker with PhpStorm and Xdebug

三世轮回 提交于 2020-01-13 11:34:13
问题 I'm trying to debug a Symfony app with PhpStorm by following this tutorial: https://gist.github.com/chadrien/c90927ec2d160ffea9c4 I did exactly the same but it does not work well. php-fpm: build: ./php container_name: php-fpm-symfony links: - db ports: - 9000:9000 - 8448:8448 - 8000:8000 working_dir: /var/www/html/ volumes: - ../:/var/www/html volumes_from: - data tty: true env_file: - ./docker.env environment: XDEBUG_CONFIG: remote_host=192.168.0.176 Dockerfile # XDEBUG RUN yes | pecl