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

Response to `? date<Ctrl-Tab> has anomalous entry #57437

Open
HenriLaurie opened this issue Feb 17, 2025 · 3 comments
Open

Response to `? date<Ctrl-Tab> has anomalous entry #57437

HenriLaurie opened this issue Feb 17, 2025 · 3 comments

Comments

@HenriLaurie
Copy link
Contributor

The help on a function in the Dates package throws up a meaningless entry:

julia> using Dates

help?> date
dateformat"
datetime2julian
datetime2rata
datetime2unix

help?> dateformat"
search: DateFormat dateformat"" @dateformat_str ISODateFormat

Couldn't find dateformat"
Perhaps you meant DateFormat or @dateformat_str
  No documentation found.

  Binding dateformat" does not exist.

Tab completion at the help?> prompt works, in that datefo expands to dateformat"

@HenriLaurie
Copy link
Contributor Author

I should have added I'm using v1.11.3

@vtjnash
Copy link
Member

vtjnash commented Feb 18, 2025

I don't fully understand the stated expected result. Are you wanting the help system to accept a single trailing quote instead of requiring the closing quote? Or wanting the help system to close the quote itself?

help?> dateformat"
search: DateFormat dateformat"" @dateformat_str ISODateFormat

Couldn't find dateformat"
Perhaps you meant DateFormat or @dateformat_str
  No documentation found.

  Binding dateformat" does not exist.

help?> dateformat""
  dateformat"Y-m-d H:M:S"

  Create a DateFormat object. Similar to DateFormat("Y-m-d H:M:S") but creates
  the DateFormat object once during macro expansion.

  See DateFormat for details about format specifiers.

@HenriLaurie
Copy link
Contributor Author

I'm just a bit confused. I guess giving the whole of dateformat" " as an autocompletion would confuse me least.

But perhaps that is undesirable from the point of view of using autocomplete while typing out code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants