XcodeKit

RSS for tag

Create extensions to add commands to the Xcode source editor.

Posts under XcodeKit tag

4 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Xcode Extension isn't show up in the Editor menu
https://developer.apple.com/documentation/xcodekit/creating_a_source_editor_extension I created new MacOS project and added a Xcode Source Editor Extension target to the project. I run the extension in debug mode with extension target, but the extension is not show up in Editor menu debug mode Xcode. Xcode version is 15.3(released) MacOS version is 14.4.1 Sonoma
2
0
277
Apr ’24
Xcode Source Editor Extensions & Sandbox
Hi, I'm working on an Xcode Source Editor Extension. Currently, I have App Sandbox enabled and everything works as expected. I have some features I'd like to add that would require me to disable the App Sandbox and release the extension and containing app outside of the App Store. However, whenever I remove the App Sandbox capability from my project and re-run the extension, I can no longer see my extension appear in the Editor menu - it's just gone. My question is - are Xcode Source Editor Extensions only limited to sandboxed environments or can they operate out of the sandbox? If so, how come I don't see it in Xcode 15?
1
0
750
Sep ’23
Xcode Extension accessing Current File and Xcode UI integration
For things like linters, formatting tools, and more: We need a good way to inject into the Xcode UI. Can I create a Warning or Error in the buffer/Issue Navigator? Is there an example of how to mark lines/columns with a message/error/warning? Get the current file path or URL object? How can I place a view onto the Xcode source canvas? Like a popover or interactive window.
1
0
573
Aug ’23