2
$\begingroup$

It appears that Mathematica tries to list the folder that you're typing into an Import[] statement. Since I'm working with folders mounted over sshfs and they contain a lot of files, this can hang the frontend for quite a while. Is there a way to stop this from happening?

$\endgroup$
2
  • 1
    $\begingroup$ A quick and dirty solution is to first put the folder name into a string, and then once that is typed, add the Import around that. You can also block the autocomplete features. Here $\endgroup$
    – enano9314
    Commented Jul 10, 2018 at 15:47
  • 1
    $\begingroup$ You should probably report this to Wolfram Support. It sounds like a "bug". They may not have anticipated that folder lookup can take long. In principle, lookup could be done asynchronously. $\endgroup$
    – Szabolcs
    Commented Jul 10, 2018 at 16:17

1 Answer 1

3
$\begingroup$

Set the option "FileCompleteEnable" to False, either for the notebook or globally. In the Option browser, it is under Editing Options > Private... > CodeAssistOptions.

Reference: CodeAssistOptions

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.