[英]How to create Visual Studio…file extension shells?
I hope this doesn't sound like a stupid question, as I do not exactly know what terms and technologies are involved. 我希望这听起来不是一个愚蠢的问题,因为我不确切知道涉及哪些术语和技术。
When you open a .cs file in Visual Studio, the code editor opens and displays the content in the main window (Code Editor) with syntax highlighting and stuff. 在Visual Studio中打开.cs文件时,代码编辑器将打开并在主窗口(代码编辑器)中显示内容,并带有语法突出显示和填充。 When you open a .txt file, the same thing happens, except without any fancy extras because it's a plain text. 当你打开.txt文件时,会发生同样的事情,除非没有任何花哨的额外内容,因为它是纯文本。
But now, there are several files that open a whole custom UI that enables you to edit the base file .xxx with the help of dialogs etc. 但现在,有几个文件打开了一个完整的自定义UI,使您可以在对话框的帮助下编辑基本文件.xxx等。
As an example, a ftp client: In the project, there's a file something.ftp with the following content: 例如,一个ftp客户端:在项目中,有一个文件something.ftp,其中包含以下内容:
connection = [
server: 192.168.1.52
port: 21
startdir: "C:\dasdasd\asdasd"
]
So a UI pops up where you can edit the base file window based, connect to a remote server, view its remote directory contents etc. 因此会弹出一个UI,您可以在其中编辑基本文件窗口,连接到远程服务器,查看其远程目录内容等。
Are those so called Shell Extensions ? 那些所谓的Shell Extensions ? Or Add-ins ? 还是加载项 ? Or Project Types ? 还是项目类型 ?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.