ribesg
02/19/2025, 2:11 PM.main.kts
file as a Kotlin Script and provide highlighting, completion and everything else? I just have a folder containing my scripts for now and it just treats them as plain textPiotr Krzemiński
02/19/2025, 2:22 PM@file:Import
in your script? If yes, you may be impacted by [KTIJ-14580] Imported script are not supported for scripts outside of a source root, although I don't remember if it manifests exactly as plaintext-like syntax highlighting - for sure there's something offmbonnin
02/19/2025, 2:27 PMribesg
02/19/2025, 2:28 PMPiotr Krzemiński
02/19/2025, 2:29 PMprintln("Hello")
? if no, could you provide a reproducer?ribesg
02/19/2025, 2:31 PMmbonnin
02/19/2025, 2:32 PMBuild #IU-251.20015.29, built on February 6, 2025
mbonnin
02/19/2025, 2:32 PMmbonnin
02/19/2025, 2:33 PMmbonnin
02/19/2025, 2:34 PMribesg
02/19/2025, 2:34 PMribesg
02/19/2025, 2:35 PMPiotr Krzemiński
02/19/2025, 2:38 PM@file:Import
and/or @file:Repository
?ribesg
02/19/2025, 2:39 PM@file:DependsOn
referencing a dependency in a custom @file:Repository
, it frozeribesg
02/19/2025, 2:40 PMPiotr Krzemiński
02/19/2025, 2:40 PMribesg
02/19/2025, 2:41 PMPiotr Krzemiński
02/19/2025, 2:43 PMPiotr Krzemiński
02/19/2025, 2:43 PMribesg
02/19/2025, 2:44 PMribesg
02/19/2025, 2:46 PMribesg
02/19/2025, 2:48 PMVampire
02/19/2025, 4:09 PMribesg
02/19/2025, 4:13 PMVampire
02/19/2025, 4:13 PMI'm gonna add something like force load dependencies action to the following release. as well as a shortcut for it.
to be mentioned, it's not the final version of main.kts dependency management — we are still discussing and experimenting around it
Vampire
02/19/2025, 4:14 PM.main.kts
since years and it worked fine in the IDE except for some bugs that are all reported. 🤷♂️Vampire
02/19/2025, 4:15 PM.github/workflows/foo.main.kts
ribesg
02/19/2025, 4:15 PMribesg
02/19/2025, 4:16 PM.main.kts
files. That's it. I also tried setting up an empty Gradle project next to it, to force Fleet to parse the scripts as Kotlin at the time, it kinda worked.Vampire
02/19/2025, 4:17 PMribesg
02/19/2025, 4:17 PMribesg
02/19/2025, 4:20 PMribesg
02/19/2025, 4:20 PMPiotr Krzemiński
02/19/2025, 7:32 PMmikehearn
02/20/2025, 9:11 AMmikehearn
02/20/2025, 9:11 AMribesg
02/20/2025, 9:14 AM