Message Boards Message Boards

0 Replies
4 Total Likes
View groups...
Share this post:

File name completion for custom function

Posted 10 years ago

Mathematica 10 introduced file name completion. It works with many functions, such as Import, ReadList, SetDirectory, etc., though there are some oversights: it doesn't work with SemanticImport and it doesn't work for paths relative to Directory[] if the current directory is changed.

Question: Is there a way to enable to enable file name completion for user defined functions?

Say, I have a function

importFormatX[file_] := ...

I would like file name completion to be triggered when I type importFormatX["....

Link to the SE version of this question.

POSTED BY: Szabolcs Horvát
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract