Comments (17)
It's also possible for this to happened due to custom path configuration for blade views
My views are on path: resources/views/ folder/file.blade.php
To fix this manually try to change the targeted file (the path from the include) save and then undo and save again.
It didn't work for me
Maybe is because paths on @include
use dot instead of slash
from netbeans-php-blade-plugin.
Except for fixing the parser errors warning when you use expressions in directives with path. I didn't change the flow.
Maybe there's a logic which is too permissive for the declaration path which I think I can remove.
It's allowing fragments of blade view names to be detected as declaration results.
from netbeans-php-blade-plugin.
Hi,
It's likely to be a bug, sometimes this can be caused by cached file info in the netbeans editor.
To fix this manually try to change the targeted file (the path from the include) save and then undo and save again. This will trigger a clear cache.
It's also possible for this to happened due to custom path configuration for blade views. At the moment it's developed just for the standard relative paths starting with views. For this I will have to develop a include view path option to the folder or make the path declaration search more permissive.
from netbeans-php-blade-plugin.
I've managed to reproduce the bug. I will study the issue.
from netbeans-php-blade-plugin.
I've published a new release on https://github.com/haidubogdan/netbeans-php-blade-plugin/releases/tag/nb122-126-04032022.
the current version 1.0.0.2 . Hope this will fix the issue.
from netbeans-php-blade-plugin.
To fix this manually try to change the targeted file (the path from the include) save and then undo and save again.
the current version 1.0.0.2 . Hope this will fix the issue.
Still not working, also i note that only the two first files are shown on the autocomplete suggestion, but I have 10 files in the folder, when I continue writing the number of suggestions does not increase, and the expected file doesn't appear, like it doesn't exists
from netbeans-php-blade-plugin.
Sorry, I missed some use case
I hope with this release is better :
https://github.com/haidubogdan/netbeans-php-blade-plugin/releases/tag/nb122-126-04032022a
from netbeans-php-blade-plugin.
I hope with this release is better : https://github.com/haidubogdan/netbeans-php-blade-plugin/releases/tag/nb122-126-04032022a
still suggestions fails, not all the files are shown
On those captures _audit
and _modal
are not shown
To fix this manually try to change the targeted file (the path from the include) save and then undo and save again.
Also tried and didn't work
Links to files still doesn't open the files
from netbeans-php-blade-plugin.
Just to check, are you referring to relative paths autocomplete?
- /layouts
--- default.blade.php
--- admin.blade.php
so inside admin.blade.php I should see the 'default' suggestion directly without using the full path 'layout.default'
Some laravel features might have escaped me. I saw now this very old commit
laravel/framework#7215
from netbeans-php-blade-plugin.
Just to check, are you referring to relative paths autocomplete?
Not relative, full path
My views are on path: resources/views/folder/file.blade.php, and my include looks like
@include('folder.file')
Also i have others on path: resources/views/folder/subfolder/file.blade.php, and my include looks like
@include('folder.subfolder.file')
- resources
-
- views
-
-
- folder
-
-
-
-
- subfolder
-
-
-
-
-
-
- file.blade.php
-
-
-
-
-
-
- file.blade.php
-
-
from netbeans-php-blade-plugin.
On my side it seems to works fine ... maybe I have some exceptions or untreated error cases which might block the indexing / declaration process of the plugin.
from netbeans-php-blade-plugin.
ππ₯Ίπππ
I give up, I already tried to uninstall and reinstall, delete the netbeans cache, I don't know how to make you replicate the bug if it works correctly on your side
[CTRL] + CLICK
/Navigate
>Go to declaration
doesn't work for me- Path
Suggestions
doesn't show all the blade files in folders
from netbeans-php-blade-plugin.
Sorry about that :(
I will see how the indexing and code completion can be more permissive.
I've added a small update for declaration finder for backward file path matching in case the blade file is in a custom directory.
https://github.com/haidubogdan/netbeans-php-blade-plugin/releases/tag/nb122-126-05032022a
from netbeans-php-blade-plugin.
ππ
Amazing, you fixed it, everything works now,
Thanks a lot, works like a charm
from netbeans-php-blade-plugin.
@haidubogdan after upgrade to 1.0.0.6 CTRL + CLICK
stop working, did you change something about @include/@extend
? It is showing other not related blade files on other paths with other names
Look, there is only one file on that path, but Go to declaration
shows many(and there is not the correct file)
Path suggestions still works at least
from netbeans-php-blade-plugin.
Yes, seems like shows the firsts blade files always
Path suggestions still works, please don't change that
from netbeans-php-blade-plugin.
Yes, seems like shows the firsts blade files always
from netbeans-php-blade-plugin.
Related Issues (20)
- @if formatting is not working HOT 8
- `unknown directive` on custom blade directives HOT 13
- `@endforeach` autocompletion not working HOT 1
- `Unclosed @if` when `@endif` exists HOT 1
- `mismatched input (` error on working blade HOT 1
- No highlight open tags `@canany`/`@endcanany` when selecting end tags HOT 1
- Custom `@end` prefix tag could have arguments, and if they start witn `end` stops highlight HOT 2
- `extraneous input <EOF>` in a correct blade file HOT 1
- `@include` path suggestions problem HOT 1
- Declaration finder gets stuck when changing Projects HOT 1
- `@can/@canany` skipped on navigation bar
- Bad indenting after component tag opening
- Missing highlighting in blade core/custom attributes HOT 2
- BUG - parser error for `@empty` block HOT 1
- TAB not working after html close tag HOT 2
- Livewire location
- Weird highlight on double quotes HOT 9
- a directive statement block should be commented on Ctr^/
- `@can` and `@endcan` with no content shows mismatched input error
- too many tokens for antlr lexer inside foreach
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbeans-php-blade-plugin.