Skip to content

Commit

Permalink
Version 2.7
Browse files Browse the repository at this point in the history
1. Click and Go in Super Quick Info
2. Limit size of Quick Info items
3. Selection Quick Info for all text types
4. Unicode char Quick Info
5. Symbol location in Super Quick Info
6. Syntax highlight parameter parentheses
7. UNDONE comment style
8. Disabling Codist temporarily and more options
9. Many bug fixes
  • Loading branch information
wmjordan committed Apr 15, 2018
1 parent bf4a697 commit edcb94c
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 77 deletions.
71 changes: 0 additions & 71 deletions Codist/Classifiers/ClassifierContext.cs

This file was deleted.

19 changes: 16 additions & 3 deletions Codist/Options/GeneralPage.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Codist/Options/GeneralPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ private void MiscPage_Load(object sender, EventArgs e) {
});
_LineNumbersBox.CheckedChanged += _UI.HandleEvent(() => Config.Instance.Set(MarkerOptions.LineNumber, _LineNumbersBox.Checked));
_ControlQuickInfoBox.CheckedChanged += _UI.HandleEvent(() => Config.Instance.Set(QuickInfoOptions.CtrlQuickInfo, _ControlQuickInfoBox.Checked));
_SelectionQuickInfoBox.CheckedChanged += _UI.HandleEvent(() => Config.Instance.Set(QuickInfoOptions.Selection, _SelectionQuickInfoBox.Checked));
_SaveConfigButton.Click += (s, args) => {
using (var d = new SaveFileDialog {
Title = "Save Codist configuration file...",
Expand Down Expand Up @@ -94,6 +95,7 @@ void LoadConfig(Config config) {
_NoSpaceBetweenWrappedLinesBox.Checked = config.NoSpaceBetweenWrappedLines;
_LineNumbersBox.Checked = config.MarkerOptions.MatchFlags(MarkerOptions.LineNumber);
_ControlQuickInfoBox.Checked = config.QuickInfoOptions.MatchFlags(QuickInfoOptions.CtrlQuickInfo);
_SelectionQuickInfoBox.Checked = config.QuickInfoOptions.MatchFlags(QuickInfoOptions.Selection);
});
}
}
Expand Down
4 changes: 2 additions & 2 deletions Codist/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.6.0.0")]
[assembly: AssemblyFileVersion("2.6.0.838")]
[assembly: AssemblyVersion("2.7.0.0")]
[assembly: AssemblyFileVersion("2.7.0.870")]
4 changes: 4 additions & 0 deletions Codist/Views/SelectionQuickInfoProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ public IQuickInfoSource TryCreateQuickInfoSource(ITextBuffer textBuffer) {
internal sealed class SelectionQuickInfoController : IQuickInfoSource
{
public void AugmentQuickInfoSession(IQuickInfoSession session, IList<Object> qiContent, out ITrackingSpan applicableToSpan) {
if (Config.Instance.QuickInfoOptions.MatchFlags(QuickInfoOptions.Selection) == false) {
applicableToSpan = null;
return;
}
var textSnapshot = session.TextView.TextSnapshot;
var triggerPoint = session.GetTriggerPoint(textSnapshot).GetValueOrDefault();
if (qiContent.FirstOrDefault(i => (i as TextBlock)?.Name == QuickInfoName) != null) {
Expand Down
2 changes: 1 addition & 1 deletion Codist/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="Codist.WMJ.c7b93d20-621f-4b21-9d28-d51157ef0b94" Version="2.6.0.860" Language="en-US" Publisher="WMJ" />
<Identity Id="Codist.WMJ.c7b93d20-621f-4b21-9d28-d51157ef0b94" Version="2.7.0.870" Language="en-US" Publisher="WMJ" />
<DisplayName>Codist</DisplayName>
<Description xml:space="preserve">A plugin which enhances coding experience with advanced syntax highlighting, scrollbar marking and Super Quick Info for C# programmers.</Description>
<ReleaseNotes></ReleaseNotes>
Expand Down

0 comments on commit edcb94c

Please sign in to comment.