I
I
Igor Sharamov2016-07-03 19:25:27
phpstorm
Igor Sharamov, 2016-07-03 19:25:27

Why Ctrl+Click (Ctrl+B) navigation periodically disappears in PhpStorm?

The project is built by gulp from a bunch of files from the /src folder to the /build folder. Everything is automatically synced to Dropbox. Work on the project is carried out on 3 computers - each has its own /node_modules and .idea folders.
Transition on class declarations by ctrl+click (ctrl+b) disappears from time to time. Moreover, sometimes it can only see in /build, sometimes in /build and in /src, sometimes it doesn’t see it anywhere at all. Sometimes on 3 computers everything is different.
Reindexing the project does not help.
What could be?
Project structure
d93250fa8a654d3bafc10773ac180103.gif
Everything in the red frame - the transition does not work. Moreover, in the version of PhpStorm on macbook, it works partially - it sees links from the already compiled /BUILD folder. In the blue frame - it works.
index.html inside something like this:

...
<body>
//= layout/_header.html ------ собирается rigger
//= layout/_mainmenu.html ------ собирается rigger
<section id="pageheader" class="bk-pageheader1">
...
</section>
//= layout/_footer.html ------ собирается rigger
</body
...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2016-07-05
@Sharamoff

familiar situation. do not start the file with doctype, but rather take out the entire head separately like this

//= layout/_head.html
<body>
//= layout/_header.html ------ собирается rigger
//= layout/_mainmenu.html ------ собирается rigger
<section id="pageheader" class="bk-pageheader1">
...
</section>
//= layout/_footer.html ------ собирается rigger
</body
...

everything should work
I use gulp-file-include for html and this is how the file picks up everything from css and scss
6d8a6b119d2444ffb49652a66b6c2bfd.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question