From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_20 autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a37:8884:: with SMTP id k126mr15583705qkd.104.1612192393439; Mon, 01 Feb 2021 07:13:13 -0800 (PST) X-Received: by 2002:a25:443:: with SMTP id 64mr13335932ybe.363.1612192393276; Mon, 01 Feb 2021 07:13:13 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 1 Feb 2021 07:13:13 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=2601:3c3:401:f550:795c:3f2c:1327:bd1c; posting-account=JSxOkAoAAADa00TJoz2WZ_46XrZCdXeS NNTP-Posting-Host: 2601:3c3:401:f550:795c:3f2c:1327:bd1c References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <64d6a85b-3197-42a3-b8a5-c442c0fca2fbn@googlegroups.com> Subject: Re: GPS/Gnat Studio: Code completion with other projects From: John Perry Injection-Date: Mon, 01 Feb 2021 15:13:13 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61262 List-Id: On Monday, February 1, 2021 at 1:52:02 AM UTC-6, Dmitry A. Kazakov wrote: > It is a bug introduced in the latest version. Cross-referencing (it > seems more than just auto-completion affected) across packages worked > fine in earlier GPS versions. Thank you very much. One place it fails for me is indeed the most recent Gnat Studio. However, I can't get it to work in a previous version, either, perhaps because I'm using the wrong method to include it. (GPS 2019, last one on Mac) One thing I tried was with "path/to/package/A.gpr"; project B is -- etc. Another thing I tried was project B is for Source_Dir use ("src","path/to/package/src"); -- etc. Apparently neither of those does what I want. Does it look as if I am missing something?