[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Q on global/gtags with rust codes
From: |
Makoto Harada |
Subject: |
Q on global/gtags with rust codes |
Date: |
Mon, 16 Oct 2023 15:35:55 -0400 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 |
Hello,
I'm trying to use global/gtags for rust codes.
It generates G* files with some sizes.
However, "-f", "-c" and "-r" does not work as expected.
only -"g" works.
I also confirmed pygmetize commands works as expected.
Could anyone help me what's wrong ?
Anyone successfully make global/gtag works with rust code ?
Below is some info including my trial log.
I also attached .globalrc and main.rs.
Any help is really appreciated. Thanks a lot !!
Makoto
======================================================================
$gtags -v --gtagslabel=pygments
[Mon Oct 16 15:25:15 EDT 2023] Gtags started.
Using configuration file '/home/hoge/.globalrc'.
Using configuration label 'pygments'.
Using plug-in parser.
[Mon Oct 16 15:25:15 EDT 2023] Creating 'GTAGS' and 'GRTAGS'.
[1] extracting tags of main.rs
[Mon Oct 16 15:25:15 EDT 2023] Done.
$ll
total 84K
drwxrwxr-x 2 makoto makoto 4.0K 10月 16 15:25 .
drwxrwxr-x 3 makoto makoto 4.0K 10月 6 16:24 ..
-rw-r--r-- 1 makoto makoto 23K 10月 16 12:17 .globalrc
-rw-r--r-- 1 makoto makoto 16K 10月 16 15:25 GPATH
-rw-r--r-- 1 makoto makoto 16K 10月 16 15:25 GRTAGS
-rw-r--r-- 1 makoto makoto 16K 10月 16 15:25 GTAGS
-rw-rw-r-- 1 makoto makoto 396 10月 6 16:24 main.rs
$global -f main.rs
$global -c
$global -r println
$global -gx println
println 4 main.rs println!("Enter your weight
(kg): ");
println 11 main.rs println!("Weight on Mars:
{}kg", mars_weight);
======================================================================
- version
$global --version
global (Global) 6.6.10
$ pygmentize -V
Pygments version 2.11.2, (c) 2006-2021 by Georg Brandl, Matthäus
Chajdas and contributors.
======================================================================
.globalrc
Description: Text document
main.rs
Description: Text document
- Q on global/gtags with rust codes,
Makoto Harada <=
- Re: Q on global/gtags with rust codes, Shigio YAMAGUCHI, 2023/10/18
- Re: Q on global/gtags with rust codes, Shigio YAMAGUCHI, 2023/10/18
- Re: Q on global/gtags with rust codes, Makoto Harada, 2023/10/18
- Re: Q on global/gtags with rust codes, Shigio YAMAGUCHI, 2023/10/18
- Re: Q on global/gtags with rust codes, Harada Makoto, 2023/10/18
- Re: Q on global/gtags with rust codes, Shigio YAMAGUCHI, 2023/10/18
- Re: Q on global/gtags with rust codes, Makoto Harada, 2023/10/19
- Re: Q on global/gtags with rust codes, Makoto Harada, 2023/10/19
- Re: Q on global/gtags with rust codes, Shigio YAMAGUCHI, 2023/10/19
- Re: Q on global/gtags with rust codes, Makoto Harada, 2023/10/26