Re: Can someone confirm?
Yavuz Mert <[email protected]> Tue, 7 Apr 2020 01:05:30 +0300
| Newsgroups | gmane.comp.kde.users.kdevelop |
|---|---|
| Message-ID | <CADCi4_Ze9AzrUb6jtiM3xxApzLtW5_rRBTGV-=a=XAG1Gkb5rw@mail.gmail.com> |
Hi, My similar problem, maybe not the same, was generated copy of source files in the build directory, especially after "make package_source". After that parser was sometimes using those files, and if I delete them after parser parsed them, IDE was opening those as empty files. I got the habit of running "make package_source && rm -r _CPack_Packages" to eliminate my case. Examining the path with copy filename may give a clue as René pointed out. yavuz On Mon, Apr 6, 2020 at 8:57 PM Jan Kriho <[email protected]> wrote: > Hi, > > I have encountered something similar when building in Docker - the > paths were from the container, but KDevelop wanted to open them > locally. Can this be your case? > > E. > > > > On Mon, 6 Apr 2020 at 19:30, René J.V. Bertin <[email protected]> wrote: > > > > On Monday April 06 2020 17:17:46 Leon Pollak wrote: > > >Thanks, René. There is one symlink to the source file in the project of > 88 files. > > > > Symlink to file shouldn't cause issues, unless of course it's broken. > > The behaviour you describe suggests that KDevelop tries to open a non > existing (= create a new) file; you can get the full path by right-clicking > on the file tab and selecting "copy filename". That might give you an > indication what's happening. > > > > Do you have other projects open in the same session? If so it wouldn't > be the 1st time KDevelop opens a file from the wrong project when clicking > on a file reference... though I've only seen it open existing files. > > > > R. >