Skip to content

[Feature request] Label autocompletion #1234

@BigBoyBarney

Description

@BigBoyBarney

Hi!

I have no idea how the parser works, so this may not be feasible, but I thought I'd ask!

I'm a big abuser of labels, and having autocomplete for them would be really cool.

Example:

// curl cleanup code
added_handles := curl.multi_get_handles(multi_handle)
defer curl.free(added_handles)

handle_index: int
Clean_Up_Added_Handles: for {
	handle := added_handles[handle_index]
	if handle == nil { break Clean_Up_Added_Handles } // autocomplete `Clean_Up_Added_Handles` here

	curl.multi_remove_handle(multi_handle, handle)
	curl.easy_cleanup(handle)
	handle_index += 1
}
curl.multi_cleanup(multi_handle)

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions