Can not switch between between rendered and non-rendered Markdown in Xcode without closing the project first

Originator:contact
Number:rdar://37397621 Date Originated:09-Feb-2018 01:59 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Version 9.2 (9C40b)
Classification:UI/Usability Reproducible:Always
 
Summary:
A sample project in Xcode require a .xcodesamplecode.plist in the .xcodeproj folder to enable Markdown rendering. To disable rendering and allowing editing the Xcode project must be closed and the .xcodesamplecode.plist file removed. I would like to be able to view the rendered and unrendered Markdown files side by side. Be able to edit a Markdown file. And be able to choose how I want it render by right clicking on a file and using the open dialog. Similar to right clicking on a plist or storyboard file and clicking “Open As” -> “Source Code” or “Rendered Markdown”.


Steps to Reproduce:
1) Create a project in Xcode
2) Add .xcodesamplecode.plist to the .xcodeproj folder to enable Markdown rendering (http://danielinoa.com/xcode/2017/09/19/markdown-in-xcode9.html).
3) Create a test.md Markdown file inside the project with the contents:
[README](README.md)

Expected Results:
The test.md file is editable and I can right click on it to “Open As” -> “Source Code” to view the unrendered Markdown file.

Actual Results:
The test.md file is not editable and when I right click on it to “Open As” -> “Source Code” the file is still rendered.

Version:
Version 9.2 (9C40b)

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!