Since I've updated TXS from 2.11.0 to 2.12.0 (hg 6348+:d88c1d5a2088+ Using Qt Version 4.8.6, compiled with Qt 4.8.6 R) on Ubuntu 14.04 32bits, the Structure panel is no longer working.
It does not recognize files inputed and messes up with other commands like \begin{document}
, \mainmatter
, etc.
When clicking on one of the \input
lines in the Structure panel, I get this error message :
The file "\include.tex" does not exist. Do you want to create it?
please provide a minimal example which shows the issue.
In general the structure panel just works fine.
This following MWE shows the issue (see attachment):
Of courses, the
foo.tex
,bar.tex
, andbaz.tex
files are created and located appropriately.(actually, I've never succed to make the Structure Panel work with any document since the update)
Last edit: ebo 2017-01-20
can you perform help/check active completion files ?
and is it the same with documentclass article ?
help/chack active completion files of the MWE
help/chack active completion files of my real-case
.tex
document(As it is stuck in the middle of the file, here is my personnal
.cwl
file:)
Yes, both files (my real case, and the MWE) use the
scrbook
class.Thank you for helping!
Last edit: ebo 2017-01-20
why is there a "input.cwl" referenced ?
I think, the line "\input{foo} causes the problem, probably because one of the active cwls has a botched definition of that command.
check if .config/texstudio has no scrbook.cwl or similar (lso check .../completion/user)
I don't know why
input.cwl
is referenced. There is no such file in my~/.config/texstudio
. I did not find anyscrbook.cwl
neither.The issue (not working Structure Panel) remains, even if I use
\documentclass{book}
.However, I've noticed that this prefix on the first line appear if the box
class-scrartcl,scrreprt,scrbook.cwl
is ticked (see attachment).i would suggest that you rename .config/texstudio, start txs with empty config, DON'T CHANGE any settings and check if the problems remains with your MWE.
Last edit: Jan Sundermeyer 2017-01-20
You're right, it works.
I'll try to narrow down the issue through dichotomy
Last edit: ebo 2017-01-20
Issue apparently came from my
texstudio.ini
file.I could send you the two files (my backup that is working, and the faulty
/ini
file, but I did not succeed to find the cause of the issue.Anyway, issue solved. Thank you for your time and help ! and sorry for not having thought about reseting .ini config.
Last edit: ebo 2017-01-20
you could uplod to have us take a look ...
I still assume that a cwl file is loaded which causes havoc.
working backup (
.ini
file):'buggy'
.ini
file (i.e..ini
file causing the issue)you should take a look into aaa_MY_COMMANDS.cwl
Content of
aaa_MY_COMMANDS.cwl
:looks okay,actually.
no idea, works fine here