Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending a pull request. #2

Open
wants to merge 76 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
51eba78
code reformatting
mustah Jun 3, 2012
49336fb
Added override annotation
mustah Jun 3, 2012
60af6e1
TabSwitch version 3. Includes an additional popup chooser window, whe…
mustah Jun 3, 2012
0b6c9b7
Added intellij idea project files too.
mustah Jun 3, 2012
a5488d5
TabSwitch.iws is not needed in the repository.
mustah Jun 3, 2012
10d1160
Avoiding NullPointers when comparing VirtualFile names.
mustah Jun 4, 2012
aa252c1
TabSwitch.jar added to repository.
mustah Jun 12, 2012
f208795
Including TabSwitch.jar (the latest build).
mustah Jun 12, 2012
da10cd9
README file added
mustah Jun 14, 2012
5d0f48a
README updated.
mustah Jun 14, 2012
b30c6da
Some changes to *.ipr and *.iws file.
mustah Jun 25, 2012
6af77e0
Do not include directories when listing recent VCS changes popup window.
mustah Jun 25, 2012
2b944ca
Removed light green background color from popup list.
mustah Jun 26, 2012
6c4dead
Lates build of TabSwitch.jar
mustah Jun 26, 2012
54785de
Updated change list in plugin.xml
mustah Jul 2, 2012
65f8194
Latest jar-file.
mustah Jul 2, 2012
dafcdb2
Updated the version too in plugin.xml
mustah Jul 2, 2012
4a85235
latest jar-file.
mustah Jul 2, 2012
0d9d456
Update plugin.xml with dated information. Also included idea project …
Jan 30, 2013
9fa5f29
- just some minor refactorings and clean ups
Mar 13, 2013
36db614
removed *.iws file (it's in the .gitignore list).
Mar 13, 2013
38fed1c
deleted
Mar 13, 2013
144307c
- removed lazy instantiation
Jun 1, 2013
469660a
updated plugin.xml and README file.
Jun 1, 2013
b73eb0e
- removed out directory from git
Jun 1, 2013
4770e62
- better package structure
Jun 1, 2013
6280ccb
introduced ListComponentFactory.java and moved its dependencies to co…
Jun 1, 2013
a0439d8
extracted better method names instead of passing in booleans.
Jun 1, 2013
37359c4
extracted method
Jun 1, 2013
00ff2d4
extracted method and passing in manager by retrieving it once
Jun 1, 2013
810e342
do not add file if it's already in the list of opened files
Jun 1, 2013
c4936a8
- possible to build TabSwitch.jar file with intellij 12.
Jun 1, 2013
9d3144c
better version name
Jun 1, 2013
dfb57e2
new build jar version of the plugin
Jun 1, 2013
55be74b
- inlined object creation
Jun 3, 2013
5e2d09a
- refactoring: extracted another method
Jun 10, 2013
d8ff39b
- removed lots of "final" keyword
Dec 8, 2013
0049930
- changed plugin description xml
Dec 10, 2013
cc3cb0a
- tighter visibility of classes.
Dec 10, 2013
15f7930
added lots of @NotNull annotations
Dec 10, 2013
b482604
updated plugin.xml to include description for the new version
Dec 10, 2013
e2cb36c
newest version of the plugin as jar.
Dec 10, 2013
fdd54ff
updated build.xml to use intellij 13 instead of 12.
Dec 17, 2013
c05ac36
- constructing component classes before any operations are performed …
Dec 17, 2013
86e732c
- removed errorReporter.properties file
Dec 17, 2013
03a3617
reverted commits and optimized usage of "openFiles".
Dec 17, 2013
8ead05c
removed lots of @NotNull since default IS not null! Will only annotat…
Dec 17, 2013
c90b545
- extracted method
Dec 17, 2013
5d0222a
removed errorReporter.properties file
Dec 17, 2013
96c5bb7
extracted a method
Dec 18, 2013
18bb2ae
Merge remote-tracking branch 'origin/master'
Dec 18, 2013
9bfa371
fixed bug! reverted to previous code.
Dec 20, 2013
9f315c8
minor refactoring
Dec 20, 2013
f8df75c
reverted
Dec 20, 2013
030d395
do not exceed editor tab limit
Dec 20, 2013
30a7d80
- correct number of open files are listed
Dec 27, 2013
217338c
extracted method
Dec 27, 2013
9cecf80
<br> tag added to plugin.xml
Jan 21, 2014
2c64839
more <br> tag added to plugin.xml
Jan 21, 2014
dc1a192
update build.xml to use intellij version 13.
Mar 19, 2014
23cd041
Merge branch 'master' of https://github.com/mustah/TabSwitch
Mar 19, 2014
a723cdf
using java 7
Mar 19, 2014
cde252f
removed author javadoc of mine
Mar 19, 2014
41c9f16
release notes updated
Mar 19, 2014
fabca4e
using less than or equals.
Mar 19, 2014
11115c6
forgot a <br/> in release notes
Mar 19, 2014
eb4b316
updated build version and plugin version
Mar 19, 2014
9097134
- fixed bug.
Mar 19, 2014
2780b3c
Remove TabSwitchSetting. No longer used.
Apr 10, 2014
64f8646
Rename method and let the annotation denote its possible return type.
May 5, 2014
9d2c37f
Reverse recent files before checking validity.
May 5, 2014
88ccd7c
Update plugin.xml to include information about new version.
May 5, 2014
b59abf4
Update plugin.xml to include information about new version.
Nov 25, 2014
210a851
correct version
Nov 25, 2014
5394607
Add "previous tab" actions, so we can trigger them directly.
dzmitry-paulenka Sep 15, 2015
dc25127
Merge pull request #1 from Fantast/master
mustah Sep 20, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.iws
out/*
build/*
71 changes: 39 additions & 32 deletions META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,66 +1,73 @@
<!DOCTYPE idea-plugin PUBLIC "Plugin/DTD" "http://plugins.intellij.net/plugin.dtd">

<idea-plugin url="http://www.intellij.org/twiki/bin/view/Main/TabSwitchPlugin">
<idea-plugin url="https://github.com/mustah/TabSwitch">
<name>TabSwitch</name>
<version>2.1.9</version>
<idea-version since-build="99.18"/>
<version>3.0.9</version>
<idea-version since-build="141.1532"/>

<description><![CDATA[
Open files/tabs switcher to quickly switch between tabs with less keystrokes than
Recent Files. Open files are selected from a list in most recently used order, similarly
to Alt-Tab in Windows or Ctrl-Tab in Opera. By default the action is mapped to
Alt-A, but another popular assignment is Ctrl-Tab.<br><br>
to Alt+Tab in Windows or Ctrl-Tab in Opera. By default the action is mapped to
Alt+A, but another popular assignment is CMD+E.<br><br>

Thanks to Timur Zambalayev for the original plugin, Martin Fuhrer for a major contribution
in the form of a rewrite and Mark Scott for patching a bug. Follow further development of
<a href="https://github.com/BasLeijdekkers/TabSwitch">this plugin on GitHub</a> or follow
<a href="http://twitter.com/inspectorbas">me on twitter</a> for announcements and other things.
<a href="https://github.com/mustah/TabSwitch">this plugin on GitHub</a> or follow
<a href="https://twitter.com/_musten_">me on twitter</a> for announcements and other things.<br/><br/>
]]>
</description>
<change-notes><![CDATA[
3.0.7: Bug-fix: reverse recent files array _before_ checking their validity do be added to list.<br/>
3.0.6: Remove TabSwitch settings. Is not used anymore.<br/>
3.0.5: Project is upgraded to use java 7.<br/>
3.0.4: When only one file is opened - do not display the TabSwitch list. Also some refactorings.<br/>
3.0.3: Lots of code clean ups. Does not display same file in the list twice anymore.<br/>
3.0.2: Do not include directories when listing recent VCS changes popup window. Removed light green background color from popup list.<br/>
3.0.1: Added new TabSwitch Action to display modified files in the default change list of your VCS. Large refactoring.<br>
3.0.0: Fixed bug where it moved two steps down on each move-down-action.<br/>
2.2.0: Cleaning up some code.<br>
2.1.9: Switch to open tab even if it is located in a different split pane.<br>
2.1.8: The TabSwitch actions are now available during background indexing in Maia.<br>
2.1.7: Fix for mouse over popup changes selection problem reported by Michael Bushe.<br>
2.1.6: RubyMine compatible version.<br>
2.1.6: RubyMine compatible version.<br><br/>
]]></change-notes>

<vendor url="http://twitter.com/inspectorbas" email="basleijdekkersYour [email protected]">Bas Leijdekkers (remove Your Hat to mail me;)</vendor>
<application-components>
<component>
<implementation-class>org.intellij.ideaplugins.tabswitch.TabSwitchSettings
</implementation-class>
</component>
</application-components>
<vendor url="https://twitter.com/_musten_" email="[email protected]">Must</vendor>

<project-components>
<component>
<implementation-class>org.intellij.ideaplugins.tabswitch.Handler</implementation-class>
<implementation-class>org.intellij.ideaplugins.tabswitch.TabSwitchProjectComponent</implementation-class>
</component>
</project-components>

<actions>
<action
id="TabSwitchPlugin.NextTab"
class="org.intellij.ideaplugins.tabswitch.NextTabAction"
text="Switch To Next Tab...">
<keyboard-shortcut first-keystroke="alt A" keymap="$default"/>
id="org.intellij.ideaplugins.tabswitch.action.NextTabAction"
class="org.intellij.ideaplugins.tabswitch.action.NextTabAction"
text="Next tab">
</action>
<action
id="org.intellij.ideaplugins.tabswitch.action.PrevTabAction"
class="org.intellij.ideaplugins.tabswitch.action.PrevTabAction"
text="Previous tab">
</action>
<action
id="TabSwitchPlugin.NextVcsChangeAction"
class="org.intellij.ideaplugins.tabswitch.action.NextVcsChangeAction"
text="Next VCS change tab">
</action>
<action
id="TabSwitchPlugin.PreviousTab"
class="org.intellij.ideaplugins.tabswitch.PreviousTabAction"
text="Switch To Previous Tab...">
<keyboard-shortcut first-keystroke="shift alt A" keymap="$default"/>
id="TabSwitchPlugin.PrevVcsChangeAction"
class="org.intellij.ideaplugins.tabswitch.action.PrevVcsChangeAction"
text="Previous VCS change tab">
</action>
<action
id="TabSwitchPlugin.SwitchTab"
class="org.intellij.ideaplugins.tabswitch.SwitchTabAction"
text="Switch Between Two Tabs (No UI, No Keyboard Modifier Needed)">
<keyboard-shortcut first-keystroke="alt DEAD_GRAVE" keymap="$default"/>
id="TabSwitchPlugin.SwitchTab"
class="org.intellij.ideaplugins.tabswitch.action.SwitchTabAction"
text="Switch Between Two Tabs (No UI, No Keyboard Modifier Needed)">
</action>
</actions>

<extensions defaultExtensionNs="com.intellij">
<errorHandler implementation="nu.studer.idea.errorreporting.PluginErrorReportSubmitter"/>
</extensions>

<depends>com.intellij.modules.lang</depends>
</idea-plugin>
11 changes: 11 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Tried on:
- Intellij IDEA 12.1.x
- Webstorm

TabSwitch version 3.x.x includes:

1. Bug fix, where in intellij idea version 11.1.1 and 11.1.2 made the selection move down 2 steps in stead of one when pressing CMD+E.

2. Some code clean ups.

3. Created possibility to display a list of modified files in the default change list of the selected VCS. (I've personally mapped it to CMD+ALT+E)
208 changes: 208 additions & 0 deletions TabSwitch.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PLUGIN_MODULE" version="4">
<component name="DevKit.ModuleBuildProperties" url="file://$MODULE_DIR$/META-INF/plugin.xml" />
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/build" />
<excludeFolder url="file://$MODULE_DIR$/lib" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="org.twodividedbyzero.idea.findbugs">
<option name="_basePreferences">
<map>
<entry key="property.analysisEffortLevel" value="default" />
<entry key="property.analyzeAfterCompile" value="false" />
<entry key="property.annotationGutterIconEnabled" value="true" />
<entry key="property.annotationSuppressWarningsClass" value="edu.umd.cs.findbugs.annotations.SuppressWarnings" />
<entry key="property.annotationTextRangeMarkupEnabled" value="true" />
<entry key="property.exportAsHtml" value="true" />
<entry key="property.exportAsXml" value="true" />
<entry key="property.exportBaseDir" value="" />
<entry key="property.exportCreateArchiveDir" value="false" />
<entry key="property.exportOpenBrowser" value="true" />
<entry key="property.minPriorityToReport" value="Medium" />
<entry key="property.runAnalysisInBackground" value="false" />
<entry key="property.showHiddenDetectors" value="false" />
<entry key="property.toolWindowToFront" value="true" />
</map>
</option>
<option name="_detectors">
<map>
<entry key="AppendingToAnObjectOutputStream" value="true" />
<entry key="AtomicityProblem" value="true" />
<entry key="BadAppletConstructor" value="false" />
<entry key="BadResultSetAccess" value="true" />
<entry key="BadSyntaxForRegularExpression" value="true" />
<entry key="BadUseOfReturnValue" value="true" />
<entry key="BadlyOverriddenAdapter" value="true" />
<entry key="BooleanReturnNull" value="true" />
<entry key="BuildInterproceduralCallGraph" value="false" />
<entry key="BuildObligationPolicyDatabase" value="true" />
<entry key="CallToUnsupportedMethod" value="false" />
<entry key="CalledMethods" value="true" />
<entry key="CheckCalls" value="false" />
<entry key="CheckExpectedWarnings" value="false" />
<entry key="CheckImmutableAnnotation" value="true" />
<entry key="CheckRelaxingNullnessAnnotation" value="true" />
<entry key="CheckTypeQualifiers" value="true" />
<entry key="CloneIdiom" value="true" />
<entry key="ComparatorIdiom" value="true" />
<entry key="ConfusedInheritance" value="true" />
<entry key="ConfusionBetweenInheritedAndOuterMethod" value="true" />
<entry key="CrossSiteScripting" value="true" />
<entry key="DefaultEncodingDetector" value="true" />
<entry key="DoInsideDoPrivileged" value="true" />
<entry key="DontCatchIllegalMonitorStateException" value="true" />
<entry key="DontIgnoreResultOfPutIfAbsent" value="true" />
<entry key="DontUseEnum" value="true" />
<entry key="DroppedException" value="true" />
<entry key="DumbMethodInvocations" value="true" />
<entry key="DumbMethods" value="true" />
<entry key="DuplicateBranches" value="true" />
<entry key="EmptyZipFileEntry" value="true" />
<entry key="EqualsOperandShouldHaveClassCompatibleWithThis" value="true" />
<entry key="ExplicitSerialization" value="true" />
<entry key="FieldItemSummary" value="true" />
<entry key="FinalizerNullsFields" value="true" />
<entry key="FindBadCast2" value="true" />
<entry key="FindBadForLoop" value="true" />
<entry key="FindBugsSummaryStats" value="true" />
<entry key="FindCircularDependencies" value="false" />
<entry key="FindDeadLocalStores" value="true" />
<entry key="FindDoubleCheck" value="true" />
<entry key="FindEmptySynchronizedBlock" value="true" />
<entry key="FindFieldSelfAssignment" value="true" />
<entry key="FindFinalizeInvocations" value="true" />
<entry key="FindFloatEquality" value="true" />
<entry key="FindFloatMath" value="false" />
<entry key="FindHEmismatch" value="true" />
<entry key="FindInconsistentSync2" value="true" />
<entry key="FindJSR166LockMonitorenter" value="true" />
<entry key="FindLocalSelfAssignment2" value="true" />
<entry key="FindMaskedFields" value="true" />
<entry key="FindMismatchedWaitOrNotify" value="true" />
<entry key="FindNakedNotify" value="true" />
<entry key="FindNonSerializableStoreIntoSession" value="false" />
<entry key="FindNonSerializableValuePassedToWriteObject" value="false" />
<entry key="FindNonShortCircuit" value="true" />
<entry key="FindNullDeref" value="true" />
<entry key="FindNullDerefsInvolvingNonShortCircuitEvaluation" value="true" />
<entry key="FindOpenStream" value="true" />
<entry key="FindPuzzlers" value="true" />
<entry key="FindRefComparison" value="true" />
<entry key="FindReturnRef" value="true" />
<entry key="FindRunInvocations" value="true" />
<entry key="FindSelfComparison" value="true" />
<entry key="FindSelfComparison2" value="true" />
<entry key="FindSleepWithLockHeld" value="true" />
<entry key="FindSpinLoop" value="true" />
<entry key="FindSqlInjection" value="true" />
<entry key="FindTwoLockWait" value="true" />
<entry key="FindUncalledPrivateMethods" value="true" />
<entry key="FindUnconditionalWait" value="true" />
<entry key="FindUninitializedGet" value="true" />
<entry key="FindUnrelatedTypesInGenericContainer" value="true" />
<entry key="FindUnreleasedLock" value="true" />
<entry key="FindUnsatisfiedObligation" value="true" />
<entry key="FindUnsyncGet" value="true" />
<entry key="FindUseOfNonSerializableValue" value="true" />
<entry key="FindUselessControlFlow" value="true" />
<entry key="FormatStringChecker" value="true" />
<entry key="FunctionsThatMightBeMistakenForProcedures" value="true" />
<entry key="HugeSharedStringConstants" value="true" />
<entry key="IDivResultCastToDouble" value="true" />
<entry key="IncompatMask" value="true" />
<entry key="InconsistentAnnotations" value="true" />
<entry key="InefficientMemberAccess" value="false" />
<entry key="InefficientToArray" value="true" />
<entry key="InfiniteLoop" value="true" />
<entry key="InfiniteRecursiveLoop" value="true" />
<entry key="InheritanceUnsafeGetResource" value="true" />
<entry key="InitializationChain" value="true" />
<entry key="InitializeNonnullFieldsInConstructor" value="true" />
<entry key="InstantiateStaticClass" value="true" />
<entry key="IntCast2LongAsInstant" value="true" />
<entry key="InvalidJUnitTest" value="true" />
<entry key="IteratorIdioms" value="true" />
<entry key="LazyInit" value="true" />
<entry key="LoadOfKnownNullValue" value="true" />
<entry key="LostLoggerDueToWeakReference" value="true" />
<entry key="MethodReturnCheck" value="true" />
<entry key="Methods" value="true" />
<entry key="MultithreadedInstanceAccess" value="true" />
<entry key="MutableLock" value="true" />
<entry key="MutableStaticFields" value="true" />
<entry key="Naming" value="true" />
<entry key="Noise" value="false" />
<entry key="NoiseNullDeref" value="false" />
<entry key="NoteAnnotationRetention" value="true" />
<entry key="NoteCheckReturnValueAnnotations" value="true" />
<entry key="NoteDirectlyRelevantTypeQualifiers" value="true" />
<entry key="NoteJCIPAnnotation" value="true" />
<entry key="NoteNonNullAnnotations" value="true" />
<entry key="NoteNonnullReturnValues" value="true" />
<entry key="NoteSuppressedWarnings" value="true" />
<entry key="NoteUnconditionalParamDerefs" value="true" />
<entry key="NumberConstructor" value="true" />
<entry key="OverridingEqualsNotSymmetrical" value="true" />
<entry key="PreferZeroLengthArrays" value="true" />
<entry key="PublicSemaphores" value="false" />
<entry key="QuestionableBooleanAssignment" value="true" />
<entry key="ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass" value="true" />
<entry key="ReadReturnShouldBeChecked" value="true" />
<entry key="RedundantInterfaces" value="true" />
<entry key="ReflectiveClasses" value="true" />
<entry key="RepeatedConditionals" value="true" />
<entry key="ResolveAllReferences" value="false" />
<entry key="RuntimeExceptionCapture" value="true" />
<entry key="SerializableIdiom" value="true" />
<entry key="StartInConstructor" value="true" />
<entry key="StaticCalendarDetector" value="true" />
<entry key="StringConcatenation" value="true" />
<entry key="SuperfluousInstanceOf" value="true" />
<entry key="SuspiciousThreadInterrupted" value="true" />
<entry key="SwitchFallthrough" value="true" />
<entry key="SynchronizationOnSharedBuiltinConstant" value="true" />
<entry key="SynchronizeAndNullCheckField" value="true" />
<entry key="SynchronizeOnClassLiteralNotGetClass" value="true" />
<entry key="SynchronizingOnContentsOfFieldToProtectField" value="true" />
<entry key="TestASM" value="false" />
<entry key="TestDataflowAnalysis" value="false" />
<entry key="TestingGround" value="false" />
<entry key="TestingGround2" value="false" />
<entry key="TrainFieldStoreTypes" value="true" />
<entry key="TrainLongInstantfParams" value="true" />
<entry key="TrainNonNullAnnotations" value="true" />
<entry key="TrainUnconditionalDerefParams" value="true" />
<entry key="URLProblems" value="true" />
<entry key="UncallableMethodOfAnonymousClass" value="true" />
<entry key="UnnecessaryMath" value="true" />
<entry key="UnreadFields" value="true" />
<entry key="UselessSubclassMethod" value="false" />
<entry key="VarArgsProblems" value="true" />
<entry key="VolatileUsage" value="true" />
<entry key="WaitInLoop" value="true" />
<entry key="WrongMapIterator" value="true" />
<entry key="XMLFactoryBypass" value="true" />
</map>
</option>
<option name="_reportCategories">
<map>
<entry key="BAD_PRACTICE" value="true" />
<entry key="CORRECTNESS" value="true" />
<entry key="EXPERIMENTAL" value="true" />
<entry key="I18N" value="true" />
<entry key="MALICIOUS_CODE" value="true" />
<entry key="MT_CORRECTNESS" value="true" />
<entry key="PERFORMANCE" value="true" />
<entry key="SECURITY" value="true" />
<entry key="STYLE" value="true" />
</map>
</option>
</component>
</module>

Loading