是否有可视工作室附加组件将光标下的标识符的完整类型名称复制到剪贴板中?请不要把我链接到" VS 2010 - 复制类/接口的完整类型名称的简单方法吗? "我不想处理宏; 只有加载项.谢谢 :)
我开发了类似智能感知的对话框,它应该出现在特定的按键上.(我的项目是VS-Package,我的对话框将作为命令打开)问题是,我不知道如何在当前光标位置显示我的对话框.有简单的方法来处理当前选定的文本,例如
TextSelection objSel = (EnvDTE.TextSelection)(dte.ActiveDocument.Selection);
Run Code Online (Sandbox Code Playgroud)
但我不能在这里获得任何绝对的立场.
我搜索了很多,但没有发现任何东西,这可以帮助我.也许有人可以给我一个提示或 - 甚至更好 - 代码示例来解决我的问题.我真的很感谢你的帮助!
敲击此屏幕截图中的更新按钮不会做任何事情.没有下载,安装等等.没有消息,什么都没有!单击"发行说明"和"更多信息"也不执行任何操作.
搜索此更新也没有任何用处.我该怎么办?

updates windows-8 visual-studio-extensions visual-studio-2012
我正在使用 VS 2010,我想做一些非常简单的事情。编写一个宏/加载项,它将
我只是在DTE(编写宏时)中找不到任何 API,在Microsoft.VisualStudio创建插件时也找不到命名空间中的任何内容。
有人可以帮忙吗?
visual-studio-2010 visual-studio visual-studio-extensions visual-studio-macros
"Ultra Find"的Visual Studio扩展发生了什么?我已经在这个网站和互联网上看到过这个涉嫌令人敬畏的扩展的参考资料.这里有几个链接:
http://blog.arainia.com/2010/08/ultra-find-getting-started.html
http://coolthingoftheday.blogspot.com/2010/08/i-find-you-ultra-ultra-find-vs2010-add.html
这是一个SO链接:
如何从Visual Studio文件搜索中排除designer.cs
但是,当我在VS Extension Manager中搜索时,没有任何显示.好像扩展从未存在过.
在我的编辑器扩展中,我使用自定义分类格式来表示关键字,标识符等.当然,我可以使用默认格式,因为颜色(语法高亮使用)将根据所选主题进行更改.
由于我的自定义编辑器还需要其他分类类型(例如标点符号类型),因此当用户配置另一个主题(例如,通过切换Dark到Blue主题)时,这些类型的颜色不会更改.我想知道如何提供特定于主题的格式.
Visual Studio 2015经常变得奇怪.
键入的键以半随机顺序出现,有时我必须按键两次或更多次.
我认为这似乎是关键词,而不是变量名或文字.
大约五分钟后,我将收到错误对话框,告诉我有一个可能由扩展引起的异常.
参赛作品ActivityLog.xml如下:
<entry>
<record>762</record>
<time>2015/08/11 20:17:02.056</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidOperationException: IWpfTextView has not completed its layout.
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.PerformLayout(ITextSnapshot newSnapshot, ITextSnapshot newVisualSnapshot, SnapshotPoint anchorPosition, Double verticalDistance, ViewRelativePosition relativeTo, Double effectiveViewportWidth, Double effectiveViewportHeight, Boolean preserveViewportTop, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.DisplayTextLineContainingBufferPosition(SnapshotPoint bufferPosition, Double verticalDistance, ViewRelativePosition relativeTo, Nullable`1 viewportWidthOverride, Nullable`1 viewportHeightOverride)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.DisplayTextLineContainingBufferPosition(SnapshotPoint bufferPosition, Double verticalDistance, ViewRelativePosition relativeTo)
 at Microsoft.VisualStudio.Text.InterTextAdornmentSupport.Implementation.InterLineAdornmentManager.PerformLayout(SnapshotPoint trackingPoint)
 at Microsoft.VisualStudio.Text.InterTextAdornmentSupport.Implementation.InterLineAdornmentManager.OnBatchedTagsChanged(Object sender, BatchedTagsChangedEventArgs e)
 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs …Run Code Online (Sandbox Code Playgroud) resharper visual-studio visual-studio-extensions ncrunch visual-studio-2015
我正在 VSTS 中构建一个小部件,我正在从工作项跟踪休息客户端调用 queryByWiql() 方法。
我的查询是:
queryString = {
"query": "Select [Microsoft.VSTS.Scheduling.RemainingWork]
From WorkItems
Where [System.WorkItemType] = 'Task'
AND [System.State] <> 'Done'
order by [System.CreatedDate] desc"
};
Run Code Online (Sandbox Code Playgroud)
但结果看起来像这样,其中没有一个工作项实际上包含剩余工作信息:
对于我请求的任何字段都是如此;标题、状态、分配给等。我请求的字段将出现在列下。但是没有一个工作项本身会拥有该信息。
为什么会这样?我该如何解决?干杯
所以MS为“查找所有引用”添加了新样式,但现在我找不到如何更改“代码”列的字体大小!我希望它更大,但是当我更改环境字体时,它只会影响其他列(文件、项目等)。有没有办法增加“代码”列的字体大小?
find-all-references visual-studio-extensions visual-studio-2017
我读到适应VS 2019的扩展非常容易-https: //devblogs.microsoft.com/visualstudio/visual-studio-extensions-and-version-ranges-demystified/#。
但是,如果我从帖子中执行所有操作,则会出错:
无法安装,因为没有以下链接:Microsoft.VisualStudio.Component.CoreEditor。
该帖子的作者在修改其扩展名时显示的行完全相同:
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0,)" />
Run Code Online (Sandbox Code Playgroud)
因此,看来这个先决条件对他来说不是问题。
我更新的extension.vsixmanifest是:
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011">
<Metadata>
<Identity Id="PowerQuerySDK.Microsoft.30831070-f420-4649-a031-6f679996b182" Version="1.0.0.20" Language="en-US" Publisher="Microsoft" />
<DisplayName>Power Query SDK</DisplayName>
<Description xml:space="preserve">A Power Query language service for Visual Studio</Description>
<License>Microsoft Power Query SDK - Pre-Release or Evaluation Use Terms.rtf</License>
<Icon>dataconnector_128.png</Icon>
<PreviewImage>EATIcon.ico</PreviewImage>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[14.0,17.0)" />
<InstallationTarget Version="[14.0,17.0)" Id="Microsoft.VisualStudio.Pro" />
<InstallationTarget Version="[14.0,17.0)" Id="Microsoft.VisualStudio.Enterprise" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" Version="[4.5,)" />
</Dependencies>
<Assets>
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" Path="ProjectTemplates" />
<Asset …Run Code Online (Sandbox Code Playgroud) add-in ×1
azure-devops ×1
c# ×1
envdte ×1
findinfiles ×1
javascript ×1
ncrunch ×1
resharper ×1
updates ×1
vsix ×1
vsx ×1
windows-8 ×1
wiql ×1