Skip to content

Open at line from inspector opens default script editor, not system default for ink files. #10

Description

@tomkail

Current call uses UnityEditorInternal.InternalEditorUtility.OpenFileAtLineExternal, which treats the file as a script file. Ideal behaviour is to open ink files using system default program.
AssetDatabase.OpenAsset does this, but passing in a line number doesn't work, probably because Unity parses the file as a DefaultAsset, rather than a TextAsset.

I've tinkered a bit, but I've got no solutions for this - if anybody does, I'd love to hear it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wantedrequires inky updateThis task requires a change to be made in the Inky repo before it can be addressed.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions