Stylianos Gakis
06/04/2024, 2:00 PMmain.kts
file in there for the script. And in the same level an Amper config file specifying something like 1 line product: script
. And then we'd be able to both get autocompletion in the script + be able to bring in dependencies.
Is this something that is already possible? If not, do you think this would fit Amper? If yes I can file a feature request for it.CLOVIS
06/04/2024, 2:14 PM.main.kts
, right? The IDE doesn't handle it correctly at the moment, but there shouldn't be any more work needed from the user, no?Stylianos Gakis
06/04/2024, 2:47 PMandrey.dernov
06/04/2024, 3:31 PMlouiscad
06/04/2024, 4:09 PMStylianos Gakis
06/04/2024, 4:24 PMCurrently, a single Kotlin script file is not treated by Fleet as it should, so the smart autocompletion is not available. So this would not be possible to fix by configuration, in another build tool. (edited)But if you do the workaround as explained inside the issue, and Fleet adds the necessary gradle files this works right? Couldn't Amper be the one which does the same setup which would enable it in the same way?
gildor
06/05/2024, 9:31 AMgildor
06/05/2024, 9:37 AMStylianos Gakis
06/05/2024, 10:44 AMlouiscad
06/05/2024, 10:44 AMgildor
06/05/2024, 10:48 AM