Skip to content

Autocomplete missing some indexed functions #5041

Open
@frithrah

Description

@frithrah

Description of the bug

Some functions are not shown in autocomplete even though they appear to have been indexed correctly.

Steps to reproduce

This example uses a minimal header and source file from the PCG project. Grab pcg_basic.h and pcg_basic.c.

  1. Start in safe mode passing an empty directory
  2. Copy pcg_basic.h and pcg_basic.c into the empty directory
  3. Note Indexing Status cataloguing the new files
     indexing [job 1]: indexed 2 files
     index "PCG" collated in 0.00s from 2 files
     index "PCG" is using 4096 bytes for 16 symbols across 22 locations
  1. Create new file: main.c
  2. Insert basic main function
  3. Within function, type: pcg
  4. Autocomplete only suggests pcg32_random_r and pcg32_srandom_r

Expected behavior

Autocomplete also suggests pcg32_srandom, pcg32_random, pcg32_boundedrand and pcg32_boundedrand_r

Actual behavior

Autocomplete only suggests two of the functions: pcg32_random_r and pcg32_srandom_r

Sublime Text build number

4122

Operating system & version

openSUSE Tumbleweed

(Linux) Desktop environment and/or window manager

Xfce

Additional information

No response

OpenGL context information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions