Jade code navigation no longer working
Answered
Hello I can't ctrl click on a directive anymore in my jade code.
template is jade
Controller is Coffeescript
I use the last version of intelliji and the plugins Pug (ex-jade) and coffescript.
I was working great on my previous inteliji version (2023) , clicking on the name of a directive in the jade template would lead me to the controller of the directive.
Any workaround ?
Please sign in to leave a comment.
Can you please share files or full, self-containing code snippets (both Pug and Cofee) that would be sufficient to reproduce the problem? This would help us a lot with the further investigation.
Well I can't disclose a full code as my company prevent it.
But here's a little example.
Lets say I got a file form.jade wich contains this code:
.form.form-vertical(ng-form='vm.form', novalidate='')sk-input-select(label="Salarié concerné",placeholder="'Sélectionnez le salarié'",ng-model='item.beneficiary',ng-change='onChangeUser()'choices='vm.filteredList',sk-validation='required')Ctrl click on sk-input-select should lead me to the directive in the file select.directive.coffee
.directive 'skInputSelect', (uuid2, $timeout, $translate) ->was working well before.
I hope thats enought for you.
Thanks
Do you have AngularJS plugin installed and enabled in Settings | Plugins? AngularJS support was extracted to a separate plugin and unbundled in 2024.1 as AngularJS has reached EOL two years ago (https://www.infoworld.com/article/3646609/angularjs-reaches-end-of-life.html).
That was it thank you very much !