Closed krisfans closed 3 years ago
Thanks for the report. Can you try running texlab
with -vvvv --log-file texlab.log
and see if texlab
produces a log file when starting the extension fails? This one is a bit difficult to debug, otherwise.
I think I has found the reason . I shuold open a folder first then open a file , texlab can work. If I open a file separately ,texlab does not work. It's not convenient. But there is still a problem--completion does not support multi files.
D:\Myworkdata\Thesis\
├─.gitignore
├─indent.log
├─main.pdf
├─main.tex
├─README.md
├─Thanks
├─Figures
├─Chapter
├──chapter1
├──chapter2
├──chapter3
├─Bibliography
├─Abstract
├─.git
For example , if I want to insert a figure in chapter1, command \includegraphics{Figures/}
does not show completion of files.
This is completion in main.tex
This is completion in chapter1.tex
% !TEX program = xelatex
\documentclass[a4paper,zihao=-4,UTF8]{ctexbook}
\usepackage{gbt7714}
\bibliographystyle{gbt7714-numerical}
\begin{document}
\setlength\belowdisplayskip{10pt plus 1pt minus 1pt}
\setlength\abovedisplayskip{10pt plus 1pt minus 1pt}
\frontmatter
\input{Abstract/abstract}
\tableofcontents
\mainmatter
\input{Chapter/chapter1}
\input{Chapter/chapter2}
\input{Chapter/chapter3}
\input{Chapter/chapter4}
\input{Chapter/chapter5}
\backmatter
\input{Thanks/thanks}
\zihao{5}
\nocite{*}
\bibliography{Bibliography/ref.bib}
\end{document}
%! TEX root = ../main.tex
\chapter{a}
\begin{figure}[tb]
\centering
\includegraphics[]{Figures/}
\caption{Caption here}
\label{fig:figure1}
\end{figure}
...
fixed in sublime text 4
version information
Problem
texlab service startup failed sometimes but sometimes it can works , just like this pictures show:
LSP setting