jacobdufault / cquery

C/C++ language server supporting multi-million line code base, powered by libclang. Emacs, Vim, VSCode, and others with language server protocol support. Cross references, completion, diagnostics, semantic highlighting and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

atom cquery does not run if file opened by "project-manager" or by File-Reopen Project

rhklite opened this issue · comments

OS:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial

Editor:
Atom : 1.30.0
Electron: 2.0.5
Chrome : 61.0.3163.100
Node : 8.9.3

cquery does not start in atom if project was opened with previously saved project-manager package

here are the reproduce step assuming package-manager is installed:

  1. open blank atom editor
  2. ctrl-shift-p to bringup atom console, type project Manager: List Projects, or File->Reopen Project ti open any project. . I'm calling the files opened this way A
  • cquery would not be active on A at this point
  1. open any new script file B by either File->Open Recent or File->Open File, cquery would now be active on both A and B.
  2. closing the newly opened script would cause cquery deactive on A.

I think it relates to atom-cquery instead of cquery.