Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,19 @@ jobs:
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish Extension (Code Marketplace, release)
if: env.SHOULD_RELEASE == 'yes'
shell: bash
run: |
cd "vscode"
npm install --include=dev
npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../dist/magento2-ls.*.vsix

- name: Publish Extension (OpenVSX, release)
if: env.SHOULD_RELEASE == 'yes'
shell: bash
run: |
cd "vscode"
npm install --include=dev
npx ovsx publish --pat ${{ secrets.OPENVSX_TOKEN }} --packagePath ../dist/magento2-ls.*.vsix
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## [0.0.6 - Work In Progress]

#### Features

- Added mixins to the definition locations of JS components.
- Added state updates when changes occur in `registration.php` and `requirejs-config.js`.
- Increased indexing speed by searching only specific locations.
- Added suggestions for library modules, such as `magento-framework`.


## [0.0.5 - October 4, 2023]

#### Features
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@ Be PHP Language Server (or XML LS) in any capacity.
[Intelephense](https://intelephense.com/) works nice with Magento 2 if you need
LS for your project.

## Requirements

In order to complete Magento classes, the Magento root folder must be opened in the workspace.

The language server detects Magento modules by searching for `registration.php` files in the following locations:

- The root folder (for modules added to the workspace)
- `app/code/*/*/` - for local modules
- `vendor/*/*/` - for vendor modules
- `app/design/*/*/*/` - for themes.


## Contributing

If you would like to contribute, please feel free to submit pull requests or open issues on the [GitHub repository](https://github.com/pbogut/magento2-ls).
Expand Down
225 changes: 0 additions & 225 deletions src/indexer.rs

This file was deleted.

Loading