Felix
Felix
@tbpassin I just tried, and in ubuntu 20.04.6 the 'all files' `*.*` is the first, default type offered. (I think the **defaultextension** parameter of runOpenFilesDialog is ignored, and it just...
@edreamleo Thanks for this 😄 Additionally, as I mentionned in the title of this issue, for the 'import-as-any' dialog list of **"available types to filter by"**, I think we should...
@edreamleo no problem, will do :)
@edreamleo The complete list to fill filetypes in importAnyFile would then become: ```python filetypes = [ ("All files", "*"), ("C/C++ files", "*.c"), ("C/C++ files", "*.cpp"), ("C/C++ files", "*.h"), ("C/C++ files",...
@tbpassin Thanks for your comment! My proposed solution above, which truncates the common left-part of a possible directory, would do exactly that 😄 I have already tried implementing a solution...
@edreamleo In my example above, that `commonPath `variable should be named `specificPath`, because its the rest of the imported file path **after the common part** of the path with the...
@edreamleo I would second the idea that absolute paths be used for anything not equal or deeper than the Leo file's directory. **After doing some experiments in LeoJS in the...
@edreamleo in the soon to be released next version of LeoJS, I've implemented it as `g.relativeDirectory(commander: Commands, importedFilename: string)` Which accepts a commander and an absolute filepath string as parameters....
Same bug on 1.96.3
Duplicate of #236722 Happens in typescript (.ts files ) since 1.96.2 I think... Here's the little spinning thingy: 