diff --git a/TODO.md b/TODO.md index ab734f3d..ce629289 100644 --- a/TODO.md +++ b/TODO.md @@ -2,8 +2,6 @@ ## SOON -* Enable opt-click INCLUDE declarations - * Only write out ink files that have changed for compilation * Save v.s. save all for project (currently it's inconsistent and broken - only saves one file and not necessarily the right one) diff --git a/app/renderer/controller.js b/app/renderer/controller.js index 05f734e8..2c89c0fe 100644 --- a/app/renderer/controller.js +++ b/app/renderer/controller.js @@ -87,7 +87,10 @@ EditorView.setEvents({ } }, "jumpToInclude": (includePath) => { - alert("Jumping to INCLUDEs not yet supported! "+includePath); + var includeInkFile = InkProject.currentProject.inkFileWithRelativePath(includePath); + if( includeInkFile ) { + InkProject.currentProject.openInkFile(includeInkFile); + } } });