All Projects → amir9480 → Vscode Laravel Extra Intellisense

amir9480 / Vscode Laravel Extra Intellisense

Licence: mit
This extension adds extra autocompletion for laravel projects to VSCode.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Vscode Laravel Extra Intellisense

Helm Intellisense
Extension for Visual Studio Code - Intellisense in helm-templates from the values.yaml
Stars: ✭ 137 (-84.93%)
Mutual labels:  vscode, vscode-extension, intellisense, autocomplete
Vscode Intelephense
PHP intellisense for Visual Studio Code
Stars: ✭ 872 (-4.07%)
Mutual labels:  vscode, vscode-extension, intellisense
Laravel Blade Snippets Vscode
Laravel blade snippets and syntax highlight support for Visual Studio Code
Stars: ✭ 80 (-91.2%)
Mutual labels:  laravel, vscode, vscode-extension
Tailwindcss Intellisense
Intelligent Tailwind CSS tooling for Visual Studio Code
Stars: ✭ 1,066 (+17.27%)
Mutual labels:  vscode, vscode-extension, intellisense
Vscode Auto Rename Tag
Automatically rename paired HTML/XML tag
Stars: ✭ 161 (-82.29%)
Mutual labels:  vscode, vscode-extension, autocomplete
Tabnine Vscode
Visual Studio Code client for TabNine. https://marketplace.visualstudio.com/items?itemName=TabNine.tabnine-vscode
Stars: ✭ 770 (-15.29%)
Mutual labels:  vscode, vscode-extension, autocomplete
Vscode Auto Close Tag
Auto Close Tag for Visual Studio Code
Stars: ✭ 132 (-85.48%)
Mutual labels:  vscode, vscode-extension, autocomplete
Typescript Hero
VSCode extension that assists you with your everyday work around typescript
Stars: ✭ 222 (-75.58%)
Mutual labels:  vscode, vscode-extension, intellisense
Vscode Php Intellisense
Advanced PHP IntelliSense for Visual Studio Code 🆚💬
Stars: ✭ 358 (-60.62%)
Mutual labels:  vscode, vscode-extension, intellisense
Vscode Markdown Pdf
Markdown converter for Visual Studio Code
Stars: ✭ 571 (-37.18%)
Mutual labels:  vscode, vscode-extension
Discord Vscode
🖋️ Update your discord status with a rich presence
Stars: ✭ 587 (-35.42%)
Mutual labels:  vscode, vscode-extension
Vscode Terraform
A Visual Studio Code extension for Hashicorp Terraform
Stars: ✭ 672 (-26.07%)
Mutual labels:  vscode, vscode-extension
Sublimecodeintel
💡 Full-featured code intelligence and smart autocomplete for Sublime Text
Stars: ✭ 5,050 (+455.56%)
Mutual labels:  intellisense, autocomplete
Vscode Php Debug
PHP Debug Adapter for Visual Studio Code 🐞⛔
Stars: ✭ 569 (-37.4%)
Mutual labels:  vscode, vscode-extension
Kotlin Language Server
Intelligent Kotlin support for any editor/IDE using the Language Server Protocol
Stars: ✭ 650 (-28.49%)
Mutual labels:  vscode, autocomplete
Evermonkey
Evernote Editing. Redefined. 关于 token 的问题请去 https://github.com/michalyao/evermonkey/issues/94 中查看!
Stars: ✭ 542 (-40.37%)
Mutual labels:  vscode, vscode-extension
Vscode Peacock
Subtly change the color of your Visual Studio Code workspace. Ideal when you have multiple VS Code instances, use VS Live Share, or use VS Code's Remote features, and you want to quickly identify your editor.
Stars: ✭ 690 (-24.09%)
Mutual labels:  vscode, vscode-extension
Vscode Sqltools
Database management for VSCode
Stars: ✭ 741 (-18.48%)
Mutual labels:  vscode, vscode-extension
Vscode Angular Snippets
Angular Snippets for VS Code
Stars: ✭ 530 (-41.69%)
Mutual labels:  vscode, vscode-extension
Vscode Gitlens
Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more
Stars: ✭ 6,483 (+613.2%)
Mutual labels:  vscode, vscode-extension

Laravel Extra Intellisense

This extension provides Laravel routes, views and ... autocomplete for VSCode.

Autocomplete

Route names and route parameters

Routes

Views and variables

Views

Configs

Configs

Translations and translation parameters

Translations

Laravel mix function

Mix

Validation rules

Validation rules

View sections and stacks

View sections

Env

env

Route Middlewares

Middlewares

Configuration

LaravelExtraIntellisense.customValidationRules:

Your custom validation rules snippets.

Example:

"LaravelExtraIntellisense.customValidationRules": {
    "mobile": "mobile",
    "distance_gt": "distance_gt:${0:1km}"
}

LaravelExtraIntellisense.phpCommand

Command to run PHP codes to interact with your Laravel application.

Default: php -r \"{code}\"

Note: {code} is PHP code generated by extension and should be wrapped with "".

LaravelExtraIntellisense.basePath

Base path of your Laravel application. useful if your Laravel project is not at the root of you project directory.

LaravelExtraIntellisense.basePathForCode

Same as LaravelExtraIntellisense.basePath but this one using for require_once in generated PHP codes.

LaravelExtraIntellisense.viewDirectorySeparator

You also can use / instead of . as directory separator for view autocomplete.

LaravelExtraIntellisense.modelsPaths

Array of paths including your models. (Default: ["app", "app/Models"])

LaravelExtraIntellisense.modelVariables

Variable names that should provide autocomplete with specific model class. Finding variable type (especially in views) is not easy so you need to manually define variable types.

Example: The Following setting provides auto completion each time you type discountedProduct-> with App\Models\Product model attributes.

"LaravelExtraIntellisense.modelVariables": {
    "discountedProduct": "App\\Models\\Product"
}

All camelCase and snake_case of model names provide autocomplete by default. For example productDiscount and product_discount provides member autocomplete from App\Models\ProductDiscount model.

LaravelExtraIntellisense.modelAttributeCase

Change model attribute names case to snake_case, camelCase or default. (Default = default)

LaravelExtraIntellisense.modelAccessorCase

Change model accessor names case to snake_case, camelCase or default. (Default = snake)

LaravelExtraIntellisense.disableBlade

If you want to disable blade directives autocomplete set this to true.

Sample config to use docker

This is a simple configuration to use via Laradock. It is possible to use this extension with other docker images or even other virtual machines.

"LaravelExtraIntellisense.phpCommand": "docker exec -w /var/www/your-project -u laradock laradock_workspace_1 php -r \"{code}\"",
"LaravelExtraIntellisense.basePathForCode": "/var/www/your-project"

Security Note

This extension runs your Laravel application automatically and periodically to get the information needed to provide autocomplete.

So if you have any unknown errors in your log make sure the extension not causing it.

Also if you writing any sensitive code in your service providers, disable the extension temporarily to prevent unwanted application executing.

Release Notes

0.6.x

  • Add blade directives autocomplete (#45).
  • Add change case option for model attributes (#46).

0.5.x

  • Add asset support.
  • Add Model attributes autocomplete (Beta).

0.4.x

  • Add Docker support.

0.3.x

  • env autocomplete added.
  • Route middleware autocomplete added.
  • Nested stack and section support added.
  • Function parser improvement.
  • Performance improvement.
  • Bug fixes (#25, #26)
  • Add configuration for views separator (#22).
  • can, cannot autocomplete.
  • Fix #18.

0.2.x

  • Validation rules autocomplete added.
  • works with Validator class, validate functions and inside request classes.
  • markdown function added to view functions for autocomplete.
  • Using file watcher instead of save event. Better change detect for view autocomplete.
  • json translation autocomplete added.
  • Auto-Retry removed from all providers. causes some performance issues.
  • Disable logging added.
  • View parameters autocomplete.
  • Route autocomplete bug in linux fixed.
  • Blade section autocomplete added.
  • Blade stack autocomplete added.
  • Duplicate section autocomplete items fixed.
  • PHP commands converted to async functions to prevent unresponsive extension host error.

0.1.x

  • Fix problems with linux.
  • Add translation autocomplete.
  • Improved providers.
  • Add mix autocomplete.
  • Performance improvments.
  • Route action autocomplete added. Route::get, *Route::post, ... autocompletes controller actions inside app\Http\Controllers.

0.0.x

  • Config autocomplete added.
  • Route bug fix.
  • View names with namespaces ready to use.
  • View functions autocompelete added.
  • Blade bug fix.
  • Add route autocomplete.

Recommended extensions

Credits

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].