Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocompletion after selective using #53524

Closed
carstenbauer opened this issue Feb 29, 2024 · 2 comments · Fixed by #54610
Closed

Autocompletion after selective using #53524

carstenbauer opened this issue Feb 29, 2024 · 2 comments · Fixed by #54610
Labels
REPL Julia's REPL (Read Eval Print Loop)

Comments

@carstenbauer
Copy link
Member

using Package: something
somet<TAB> # doesn't work :(

Especially disappointing when something == Package:

using Package: Package
Packa<TAB> # doesn't work :(

Note that this works (of course):

import Package # or using
Packa<TAB> # works :)
@jakobnissen
Copy link
Contributor

Might be a duplicate of #49109

@carstenbauer
Copy link
Member Author

I was slightly confused about the other issue because I first thought it meant that using Package: somet<TAB> didn't autocomplete. But I think you're right, they are likely duplicates.

aviatesk added a commit that referenced this issue May 29, 2024
The new feature `usings=true` added to `names` enhances REPL completions
by allowing explicitly `using`-ed names to be found.
```julia
julia> using Base: @assume_effects

julia> @assu| # completes to `@assume_effects`
```

As a result, the implementation of REPL completions has been simplified.
Additionally, it allows completion for names that are implicitly or
explicitly `using`-ed in code specifying a module explicitly, such as:
```julia
julia> module A end

julia> A.signi| # completes to `A.significand`
```

- fixes #40356
- fixes #49109
- fixes #53524
aviatesk added a commit that referenced this issue May 29, 2024
The new feature `usings=true` added to `names` enhances REPL completions
by allowing explicitly `using`-ed names to be found.
```julia
julia> using Base: @assume_effects

julia> @assu| # completes to `@assume_effects`
```

As a result, the implementation of REPL completions has been simplified.
Additionally, it allows completion for names that are implicitly or
explicitly `using`-ed in code specifying a module explicitly, such as:
```julia
julia> module A end

julia> A.signi| # completes to `A.significand`
```

- fixes #40356
- fixes #49109
- fixes #53524
aviatesk added a commit that referenced this issue May 29, 2024
The new feature `usings=true` added to `names` enhances REPL completions
by allowing explicitly `using`-ed names to be found.
```julia
julia> using Base: @assume_effects

julia> @assu| # completes to `@assume_effects`
```

As a result, the implementation of REPL completions has been simplified.
Additionally, it allows completion for names that are implicitly or
explicitly `using`-ed in code specifying a module explicitly, such as:
```julia
julia> module A end

julia> A.signi| # completes to `A.significand`
```

- fixes #40356
- fixes #49109
- fixes #53524
aviatesk added a commit that referenced this issue May 30, 2024
The new feature `usings=true` added to `names` enhances REPL completions
by allowing explicitly `using`-ed names to be found.
```julia
julia> using Base: @assume_effects

julia> @assu| # completes to `@assume_effects`
```

As a result, the implementation of REPL completions has been simplified.
Additionally, it allows completion for names that are implicitly or
explicitly `using`-ed in code specifying a module explicitly, such as:
```julia
julia> module A end

julia> A.signi| # completes to `A.significand`
```

- fixes #40356
- fixes #49109
- fixes #53524
@giordano giordano added the REPL Julia's REPL (Read Eval Print Loop) label May 31, 2024
aviatesk added a commit that referenced this issue May 31, 2024
The new feature `usings=true` added to `names` enhances REPL completions
by allowing explicitly `using`-ed names to be found.
```julia
julia> using Base: @assume_effects

julia> @assu| # completes to `@assume_effects`
```

As a result, the implementation of REPL completions has been simplified.
Additionally, it allows completion for names that are implicitly or
explicitly `using`-ed in code specifying a module explicitly, such as:
```julia
julia> module A end

julia> A.signi| # completes to `A.significand`
```

- fixes #29275
- fixes #40356
- fixes #49109
- fixes #53524
lazarusA pushed a commit to lazarusA/julia that referenced this issue Jul 12, 2024
…uliaLang#54610)

The new feature `usings=true` added to `names` enhances REPL completions
by allowing explicitly `using`-ed names to be found.
```julia
julia> using Base: @assume_effects

julia> @assu| # completes to `@assume_effects`
```

As a result, the implementation of REPL completions has been simplified.
Additionally, it allows completion for names that are implicitly or
explicitly `using`-ed in code specifying a module explicitly, such as:
```julia
julia> module A end

julia> A.signi| # completes to `A.significand`
```

- fixes JuliaLang#29275
- fixes JuliaLang#40356
- fixes JuliaLang#49109
- fixes JuliaLang#53524
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
3 participants