Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

I have been looking at both Codea and Swift playgrounds for inspiration for their development features (like code completion, run/pause, doc integration) for my Godot ipad UI

Are there other IDEs you folks like/enjoy on iPad that I should look at?

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza I’d be very into working on some shared UI components for this work if that’s of any interest! I’ve traditionally only done macOS stuff in this area, but I’m trying to branch out.

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@mattiem oh happy to do that!

I am only getting started now, happy to post my UI code as I go along. Right now all I have is the RuneStone SwiftUI binding - thinking the next step is exploring the keyboard accessory for completion and other coding affordnaces like Codea.

I’ll post the standalone code on GitHub.com/xibbon

mattiem, (edited )
@mattiem@mastodon.social avatar

@Migueldeicaza That’s amazing! Where are you getting completion data from? I’m pretty familiar with LSP, but I think a more general purpose completion UI would be amazing?

Are you into a dedicated package for this? I really like small, focused libs but it isn’t for everyone.

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@mattiem in my very particular case m, I don’t have an LSP to talk to; I make an in-process call to the GDScript engine’s completion api and it returns an array of completions and types

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza I assumed no language server was involved because this is iOS. But I think that’s great! I’d love this component to be general enough to accommodate a bunch of different cases.

So, how do you feel about collaboration via shared package? Is that something you could live with?

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza We may also be able to cook something up for tree-sitter languages. I’ve been SPM-ing them for a while now, and can be a better match when you only need a few. I can take a look at GDScript for this too.

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@mattiem oh fascinating I didn’t know. I took Simon’s thing, then added GDScript, then made a trimmed version for smaller build checkout times

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza It's common for tree-sitter clients to internalize parsers and queries, but I think it's important to share that work across the entire tree-sitter community.

SPM PR now up: https://github.com/PrestonKnopp/tree-sitter-gdscript/pull/19

I had a quick look at the queries. These came from neovim? Just have to work out licensing requirements.

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@mattiem yes, neovim

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@mattiem oh lovey! I’ll take a look.

Have to do Easter Bunny duty now with the kids - will be missing for a few hours.

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza Absolutely zero pressure here! But I’m curious if the completion UI package is something you’d like to own?

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@mattiem hello hello! I am trying to put together the little code I have in a presentable state and hope to push later today.

Not sure if that will be useful, and I am neither married to it, but it will show what I am using to wire up to Godot. Happy to make changes/adjust. I do have concerns about what I am about to do to RunestoneUI, as I feel like I need some control beyond the usual SwiftUI idioms, and that might be something folks dislike.

Are you on a slack?

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza I am will try to track you down there! (found you on AppKit Abusers!)

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza I’m also busy most of the day, no worries!

I glanced, and I don’t know if having this in SPM form will make things any easier for you, especially given that you’re already set up. But I really love the idea of us all working on the same set of query defs. Maybe one day!

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@mattiem yeah I think I can. I am currently trying to keep all my code out of Godot and split because Godot build/test cycle is slow. So I have separated things out.

On GitHub.com/xibbon you can see the few things I have split out in the last few days. A GDScript treesitter patch, and a trimmed version of Simons’s tree sitter, plus my RunestoneUI.

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@mattiem the RuneStone for SwiftUI is tricky, right now it has close to no features, but I suspect I need to expose the delegate in some form so I can send deltas to Godot rather than the full text every time

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza I’m afraid I don’t know anything about Runestone. But I do have a lot of experience with text systems, tree-sitter. I bet we can figure this all out.

And I’m super pumped to start looking at a completion UI!! Do you want to make a repo for it?

iKyle,
@iKyle@mastodon.social avatar

@Migueldeicaza I've always found Pythonista really nice to use.
http://omz-software.com/pythonista/

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@iKyle thank you for the recommendation! Downloading!

iKyle,
@iKyle@mastodon.social avatar

@Migueldeicaza Had to check it was still available but the "best/most complete" iOS IDE I've seen is Continuous (.NET Xamarin IDE on iOS with full C# iOS API access)

https://apps.apple.com/us/app/continuous-net-c-and-f-ide/id1095213378

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@iKyle oh I love it! We worked a lot with Frank on that (because we had at some point a player that connected with VS, which Apple wouldn’t allow)

Will see what new updates it has!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • anitta
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • megavids
  • JUstTest
  • All magazines