void (@NotNull VirtualFile file, int offset) { OpenFileDescriptor descriptor = new OpenFileDescriptor(myProject, file, offset); FileEditorManager.getInstance(myProject).openTextEditor(descriptor, true); }