phpstorm

Can IntelliJ IDEA encapsulate all of the functionality of WebStorm and PHPStorm through plugins?

这一生的挚爱 提交于 2019-12-27 12:10:15
问题 I am in the market for a new IDE but am confused about the overlap between some of Jetbrains' offerings. It looks like IntelliJ IDEA has plugins that allow you to do Node.js and php development. Can IntelliJ IDEA do everything that WebStorm and PHPStorm do through plugins or do they have special features not available in IDEA? I am hoping to have a single polyglot IDE for all development. 回答1: All of the functionality of our lightweight IDEs can be found within IntelliJ IDEA (you need to

PHPstorm使用技巧

旧时模样 提交于 2019-12-27 00:36:08
(1)PHPstorm设置让它默认就显示行号 Settings->Editor->General->Appearance 第四个勾选 show line numbers (2) PHPstorm在右侧显示当前页面中包含的函数(快捷键 ALT + 7) view->Tool Windows->Structure (3)PHPstorm在左侧显示项目目录结构(快捷键 ALT + 1) view->Tool Windows->Project 快捷键(常用) 查询快捷键 CTRL+N 查找类 CTRL+SHIFT+N 全局搜索文件 ,优先文件名匹配的文件 CTRL+SHIFT+ALT+N 查找php类名/变量名 ,js方法名/变量名, css 选择器 CIRL+B 找变量的来源,跳到变量申明处 (CTRL+ 鼠标单击 也可以) CTRL+ALT+B 找到继承该接口或者父级 的所有子类, 统计所有子类个数 CTRL+SHIFT+B 找变量的类 (不太懂欢迎评价) CTRL+G 定位行,跳转行 CTRL+F 在当前窗口查找文本 CTRL+SHIFT+F 在指定路径查找文本字符 CTRL+R 当前窗口替换文本 CTRL+SHIFT+R 在指定路径替换文本 CTRL+E 最近打开的文件 CTRL+J 自动代码提示,自动补全,也可以直接输入对应的简拼,按下tab键即可(类似linux命令补全)

图解phpstorm常用快捷键

纵然是瞬间 提交于 2019-12-27 00:35:42
CTRL+N 查找类 CTRL+SHIFT+N 全局搜索文件 ,优先文件名匹配的文件 CIRL+B 找变量的来源,跳到变量申明处 (CTRL+ 鼠标单击 也可以) CTRL+G 定位行,跳转行 CTRL+F 在当前窗口查找文本 CTRL+R 当前窗口替换文本 CTRL+SHIFT+R 在指定路径替换文本 CTRL+E 最近打开的文件 CTRL+J 自动代码提示,自动补全 CTRL+P 方法参数提示,显示默认参数 CTRL+C 复制 CTRL+V 粘贴 CTRL+X 剪切,删除行 Ctrl + Y 删除行插入符号 CTRL+D 复制行 , 快速分布li标签等 F5 快速复制文件 SHIFT+F2 高亮错误或警告快速定位错误,多个错误循环高亮  ALT+7 文件结构弹出 CTRL+O 魔术方法, 在php类中有效 快速查看变量或方法定义源 , 也可以鼠标按住+CTRL CTRL+ALT+F12 资源管理器打开文件夹,跳转至当前文件在磁盘上的位置 CTRL+ [] 光标移动到{}[]开头或结尾位置 CTRL+SHIFT+[] 直接选中块代码 CTRL+/ 单行注释/取消注释 CTRL+SHIFT+/ 块状注释/取消块状注释 Ctrl+Shift+U 选中的字符大小写转换 ctrl + '-/+':可以折叠项目中的任何代码块,包括htm中的任意nodetype=3的元素,function

图解phpstorm常用快捷键

走远了吗. 提交于 2019-12-27 00:34:29
查询快捷键 CTRL+N 查找类 CTRL+SHIFT+N 全局搜索文件 ,优先文件名匹配的文件 CTRL+SHIFT+ALT+N 查找php类名/变量名 ,js方法名/变量名, css 选择器 CIRL+B 找变量的来源,跳到变量申明处 (CTRL+ 鼠标单击 也可以) CTRL+ALT+B 找到继承该接口或者父级 的所有子类, 统计所有子类个数 CTRL+SHIFT+B 找变量的类 (不太懂欢迎评价) CTRL+G 定位行,跳转行 CTRL+F 在当前窗口查找文本 CTRL+SHIFT+F 在指定路径查找文本字符 CTRL+R 当前窗口替换文本 CTRL+SHIFT+R 在指定路径替换文本 CTRL+E 最近打开的文件 自动代码 CTRL+J 自动代码提示,自动补全 也可以直接输入对应的简拼,按下tab键即可(类似linux命令补全) ALT+回车 导入包,自动修正 CTRL+ALT+L 格式化代码 CTRL+ALT+I 自动缩进 CTRL+ALT+SPACE 类名或接口名提示(与系统冲突) 提示类名关键字 (abstract public ...) CTRL+P 方法参数提示,显示默认参数 ALT+INSERT 生成代码(如GET,SET方法,构造函数等) , 光标在类中才生效 CTRL+ALT+O 优化导入的类和包 需要配置 CTRL+SHIFT+SPACE 切换窗口

PhpStorm - Wrong icon for language

瘦欲@ 提交于 2019-12-26 10:36:45
问题 I just updated my PhpStorm to the latest version (2017.1.2) but when I open my current project (Laravel) I saw wrong icon in each file for PHP, the icon is C like in this picture: But when I see for another directory, the icon is correct: How to change the Icon to correct icon? Is it just an icon or also change the programming language to C? 回答1: The C is just indicating the file is entirely made up of a class matching the name of the file. This is a recent addition to PhpStorm. This icon has

Resolving asset location issue using Ruby SCSS transpiler in WebStorm

ⅰ亾dé卋堺 提交于 2019-12-25 17:22:39
问题 I have this structure of SCSS: app styles.scss bower_components _colors.scss _fonts.scss sass index.scss styles.scss: @import "sass/index"; index.scss: @import "bower_components/_colors"; @import "bower_components/_fonts"; app folder is set as working directory in File Watcher settings and is marked as "Resource Root" in WebStorm. However, transpiling fails with error: error sass/index.scss (Line 3: File to import not found or unreadable: bower_components/_colors.) I've read that @import s

Resolving asset location issue using Ruby SCSS transpiler in WebStorm

这一生的挚爱 提交于 2019-12-25 17:22:02
问题 I have this structure of SCSS: app styles.scss bower_components _colors.scss _fonts.scss sass index.scss styles.scss: @import "sass/index"; index.scss: @import "bower_components/_colors"; @import "bower_components/_fonts"; app folder is set as working directory in File Watcher settings and is marked as "Resource Root" in WebStorm. However, transpiling fails with error: error sass/index.scss (Line 3: File to import not found or unreadable: bower_components/_colors.) I've read that @import s

PhpStorm 9 and Compass: invalid option --no-cache

怎甘沉沦 提交于 2019-12-25 10:01:29
问题 I have updated my system PATH variable to include C:/Ruby193/bin/ I have checked Enable Compass Support in the settings I have set Compass executable file to C:\Ruby193\bin\compass I have set Config path to my project's config.rb file. When I save a change in any .scss files, Compass tries to run, and I get this: cmd.exe /D /C call C:/Ruby193/bin/compass.bat --no-cache --update example.scss:example.css Error: invalid option: --no-cache Process finished with exit code 1 I'm not sure where --no

How do I create a file watcher to generate a stylesheet in its own folder from a group of less files?

◇◆丶佛笑我妖孽 提交于 2019-12-25 09:26:22
问题 How do I create a less file watcher to update css/style.css each time less/style.less is updated? Assume that style.less imports other less files, like base.less . Specifically, what would I need to enter in the 'New Watcher' dialog box to create this? 回答1: Track only root files must be enabled -- this will prevent from compiling included/partial files separately -- main file will be compiled instead (which automatically includes all used partial files). This way you can modify base.less

Merge live templates

左心房为你撑大大i 提交于 2019-12-25 09:03:36
问题 I have PhpStorm at home and at work. At both I add different live templates. Also at home I try WebStorm where I add some another live templates. Is there any posibility to merge different added live templates to leave all of them? Can I import and merge live templates between PhpStorm and WebStorm ? 来源: https://stackoverflow.com/questions/43583559/merge-live-templates