All Projects → HvyIndustries → Crane

HvyIndustries / Crane

Licence: other
PHP Intellisense/code-completion for VS Code

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Crane

Thirsty
Reminds you to drink water - on your terminal.
Stars: ✭ 296 (+25.42%)
Mutual labels:  productivity, plugin
Things.sh
Simple read-only comand-line interface to your Things 3 database
Stars: ✭ 492 (+108.47%)
Mutual labels:  productivity, plugin
ui5-schemas
🚀 UI5 Schemas allows you to develop SAPUI5/OpenUI5 XML at a maximum convenience. It downloads, upgrades and sets up SAPUI5/OpenUI5 XML schemas for a better development experience in your favorite IDE (if it is WebStorm ;).
Stars: ✭ 50 (-78.81%)
Mutual labels:  intellisense, code-completion
Easyclangcomplete
💥 Robust C/C++ code completion for Sublime Text 3
Stars: ✭ 537 (+127.54%)
Mutual labels:  code-completion, plugin
Clj Suitable
ClojureScript "IntelliSense" support for JS objects and their properties/methods. Via figwheel and Emacs CIDER.
Stars: ✭ 82 (-65.25%)
Mutual labels:  intellisense, code-completion
Here Plugins
Plugins for Here App 🚀
Stars: ✭ 151 (-36.02%)
Mutual labels:  productivity, plugin
Dcd
The D Completion Daemon is an auto-complete program for the D programming language
Stars: ✭ 310 (+31.36%)
Mutual labels:  intellisense, code-completion
Vscode Intelephense
PHP intellisense for Visual Studio Code
Stars: ✭ 872 (+269.49%)
Mutual labels:  intellisense, code-completion
Xcactionbar
"Alfred for Xcode" plugin
Stars: ✭ 1,217 (+415.68%)
Mutual labels:  productivity, plugin
Dddplus
🔥 A lightweight flexible development framework for complex business architecture with full ecosystem!轻量级业务中台开发框架,中台架构的顶层设计和完整解决方案!
Stars: ✭ 107 (-54.66%)
Mutual labels:  productivity, plugin
Standup Raven
A Mattermost plugin for communicating daily standups across teams
Stars: ✭ 161 (-31.78%)
Mutual labels:  productivity, plugin
Photofilters
photofilters library for flutter
Stars: ✭ 229 (-2.97%)
Mutual labels:  plugin
Devutils App
Offline Toolbox for Developers
Stars: ✭ 2,735 (+1058.9%)
Mutual labels:  productivity
Typescript Hero
VSCode extension that assists you with your everyday work around typescript
Stars: ✭ 222 (-5.93%)
Mutual labels:  intellisense
Caddy Authz
Caddy-authz is a middleware for Caddy that blocks or allows requests based on access control policies.
Stars: ✭ 221 (-6.36%)
Mutual labels:  plugin
Vuex Typescript
A simple way to make Vuex type-safe with intuitive intellisense
Stars: ✭ 234 (-0.85%)
Mutual labels:  intellisense
Ctrlp Py Matcher
Fast vim CtrlP matcher based on python
Stars: ✭ 229 (-2.97%)
Mutual labels:  plugin
Protoc Gen Lint
A plug-in for Google's Protocol Buffers (protobufs) compiler to lint .proto files for style violations.
Stars: ✭ 221 (-6.36%)
Mutual labels:  plugin
Tinyfaces Sketch Plugin
Fill selected layers in Sketch with free stock avatars
Stars: ✭ 221 (-6.36%)
Mutual labels:  plugin
Better Mybatis Generator
在idea的数据库工具中,直接对表生成mybatis相关的代码文件。
Stars: ✭ 219 (-7.2%)
Mutual labels:  plugin

Crane - PHP code-completion for VS Code

Crane is a productivity enhancement extension for Visual Studio Code that provides code-completion for PHP. It has zero dependencies and largely works with projects of any size. It is still in development, and as such there may be bugs and/or missing features.

Please report any bugs that you find in our issue tracker on GitHub.

Follow @HvyIndustries on Twitter for updates!

How To Get Started

  1. Install Crane by pressing F1 in VS Code, then typing ext install crane
  2. Open a PHP project
  3. Check the status bar at the bottom and watch Crane parse all the PHP files it finds
  • Optionally, install the PHP Stubs to get code-completion for the built in PHP classes by pressing F1 in VS Code, then typing crane php stubs and selecting the appropriate option from the list.

For the best development experience, make sure you have the PHP linter enabled in your user settings, and set it to run onType instead of onSave!

You can also set php.suggest.basic to false to disable VS Code's built-in php code completion and avoid duplicate suggestions.

Demo


What's new in v0.3.7 (latest release)

  • Fix issue with including file on Linux

What's new in v0.3.7

  • Disabled bug report link to avoid misleading users into thinking there is a bug
  • Upgraded php-parser to 2.0.6 to fix some crashes and freezing
  • Added a special case for suggesting php opening tags (<?php)

What's new in v0.3.5

  • Bug fixes
  • Remote error reporting to help us find and fix bugs faster

What's new in v0.3.4

  • Significant performance improvements when requesting suggestions (up to 7,500% faster)

What's new in v0.3.3

  • Document symbol provider - view top level symbols in the current file
  • Workspace symbol provider - view top level symbols throughout the workspace
  • Performance improvements

What's new in v0.3.2

  • Added go to definition on classes, traits & interfaces
  • Fix several bugs introduced in v0.3.1
    • Namespace insert text should be prefixed with a backslash (Thanks @TheColorRed for pointing out this mistake!)
    • Crane no longer adds the fully qualified namespace to a class if the class is in the same namespace
    • Fixed issue where there were no suggestions for properties and methods defined in traits
  • Disabled Crane suggestions when typing on a single line comment
  • Bug report link now prefills basic information including vscode version, crane version and platform (win/linux/macos)

Current Features

  • Code-completion (work in progress)
    • For user created code
    • Optionally for built-in PHP functions and classes (such as PDO)
  • Go to definition on classes, interfaces and traits
  • Peek definition on classes, interfaces and traits
  • Document & workspace symbol providers

Planned Features:

  • Find references
  • Signature provider to show method parameter suggestions
  • Hover provider to show information about symbol under the cursor
  • Full go-to/Peek definition on variables, methods, properties, etc
  • PhpDoc support (both for reading and writing documentation)

User Feedback

Another total must have for PHP developers using Visual Studio Code.
Jan Hajek

Essential extension for every PHP developer, just install :)
Marcelo Rodrigo

Essential to every PHP developer, recommended!
Gabriel Coronado

That's the tweet I've been waiting for since the first public release of VS Code. Thanks.
Bruno Baketaric

omg omg omg omg omg
Rich Perez

👌👌👌 super awesome.
яєαℓιѕт נανѕтαн

Known Issues

  • If you get duplicate suggestions for variables, etc. you can disable VS Code's built-in php code-completion by setting php.suggest.basic to false in your settings.
  • There can be strange behaviour when working with PHP and HTML in the same file.
  • If you have a syntax error in a file, you may not get a full list of suggestions for that file.
  • Go to definition only works on classes, traits and interfaces

Links

Please report any bugs you find!

"HVY", "HVY Industries" and "Hvy Industries" are trading names of JCKD (UK) Ltd

Icon by http://icons8.com/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].