Commit Graph

63 Commits

Author SHA1 Message Date
Eric Amodio
5624567daa Fixes regression with code lens 2017-06-12 12:13:48 -04:00
Eric Amodio
e6316400f0 Optimized parsers for speed & memory usage
Switches to lazy parsing of diff chunks
2017-06-10 00:16:46 -04:00
Eric Amodio
eeff31cf27 Removes I from interface naming of "things" 2017-06-09 18:00:54 -04:00
Eric Amodio
95e0a6c71b Adds code lens range to debug info 2017-06-07 12:52:56 -04:00
Eric Amodio
35ca8106c9 Adds customizable code lens strings 2017-06-07 12:52:56 -04:00
Eric Amodio
3c45c7e049 Anchors the code lens to the end of the line 2017-06-07 12:51:00 -04:00
Eric Amodio
37e48ded2d Major refactor/rework -- many new features and breaking changes
Adds all-new, beautiful, highly customizable and themeable, file blame annotations
Adds all-new configurability and themeability to the current line blame annotations
Adds all-new configurability to the status bar blame information
Adds all-new configurability over which commands are added to which menus via the `gitlens.advanced.menus` setting
Adds better configurability over where Git code lens will be shown -- both by default and per language
Adds an all-new `changes` (diff) hover annotation to the current line - provides instant access to the line's previous version
Adds `Toggle Line Blame Annotations` command (`gitlens.toggleLineBlame`) - toggles the current line blame annotations on and off
Adds `Show Line Blame Annotations` command (`gitlens.showLineBlame`) - shows the current line blame annotations
Adds `Toggle File Blame Annotations` command (`gitlens.toggleFileBlame`) - toggles the file blame annotations on and off
Adds `Show File Blame Annotations` command (`gitlens.showFileBlame`) - shows the file blame annotations
Adds `Open File in Remote` command (`gitlens.openFileInRemote`) to the `editor/title` context menu
Adds `Open Repo in Remote` command (`gitlens.openRepoInRemote`) to the `editor/title` context menu
Changes the position of the `Open File in Remote` command (`gitlens.openFileInRemote`) in the context menus - now in the `navigation` group
Changes the `Toggle Git Code Lens` command (`gitlens.toggleCodeLens`) to always toggle the Git code lens on and off
Removes the on-demand `trailing` file blame annotations -- didn't work out and just ended up with a ton of visual noise
Removes `Toggle Blame Annotations` command (`gitlens.toggleBlame`) - replaced by the `Toggle File Blame Annotations` command (`gitlens.toggleFileBlame`)
Removes `Show Blame Annotations` command (`gitlens.showBlame`) - replaced by the `Show File Blame Annotations` command (`gitlens.showFileBlame`)
2017-06-07 12:48:22 -04:00
Eric Amodio
f1042de9c7 Stops some code lens actions when uncommitted 2017-05-25 01:30:28 -04:00
Eric Amodio
3502bdf6c7 Adds more linting rules
Fixes lint issues
2017-05-23 18:48:04 -04:00
Eric Amodio
1acc183621 Refactors commands to use typed args objects 2017-05-14 01:48:07 -04:00
Eric Amodio
ee29596d45 Enables typescript strict mode
Fixes all the compile/lint issues
2017-05-11 02:18:04 -04:00
Eric Amodio
6af753c0ae Renames *.advanced.codeLens.debug to *.codeLens.debug
Renames *.advanced.debug to *.debug
Renames *.output.level to *.outputLevel
2017-04-22 09:27:30 -04:00
Eric Amodio
bb59f2899a Adds const for ExtensionKey 2017-04-22 09:19:55 -04:00
Eric Amodio
0cf107a817 Removes Emitter from event emitter names 2017-04-12 18:21:13 -04:00
Eric Amodio
ba69a19eeb Removes default export 2017-03-23 17:33:11 -04:00
Eric Amodio
9867e7065d Adds Show Branch History command
Renames Show Repository History to Show Current Branch History
Doesn't migrate data yet
2017-03-22 03:09:13 -04:00
Eric Amodio
164cb2bfe0 Refactors GitService to mostly use GitUris 2017-03-18 01:15:50 -04:00
Eric Amodio
b51d25829b Adds support for ranged quick file history
Fixes ranged diffWithPrevious command execution via CodeLens
2017-03-17 19:14:57 -04:00
Eric Amodio
332b2c3b91 Renames GitProvider to GitService 2017-03-17 14:12:09 -04:00
Eric Amodio
4898c11eb5 Adds setting to control CodeLens debug info 2017-03-15 12:21:37 -04:00
Eric Amodio
b40ad7eced Tightens up debugging CodeLens 2017-03-11 16:01:45 -05:00
Eric Amodio
762fa545c7 Switches everything to use full shas 2017-03-10 22:26:48 -05:00
Eric Amodio
eaea44872c Refactors commit quick pick commands
Splits showQuickCommitDetails into showQuickCommitDetails and showQuickCommitFileDetails
Adds closeUnchangedFiles command
Adds openChangedFiles command
Adds diffDirectory command
Adds contextual description to the `go back` commands
Fixes #44 by adding a warning message about Git version requirements
Fixes intermittent errors when adding active line annotations
Fixes intermittent errors when opening multiple files via quick picks
Updates dependencies
Preps v2.11.0
2017-03-09 02:22:38 -05:00
Eric Amodio
037446f38e Fixes #43 - File-level CodeLens must use full file blame 2017-03-05 15:45:01 -05:00
Eric Amodio
c05fd0b976 Adds debugging info to CodeLens 2017-03-05 15:42:11 -05:00
Eric Amodio
4da21c3cc1 Adds blame and active line annotation support to git diff split view
Adds command (compare, copy sha/message, etc) support to git diff split view
Fixes #41 - Toggle Blame annotations on compare files page
2017-03-03 12:43:50 -05:00
Eric Amodio
1519898dfa Changes behaviors when file has unsaved changes:
- Status bar blame information will hide
  - CodeLens change to a `Cannot determine...` message and become unclickable
  - Many menu choices and commands will hide
Fixes #36 - Blame information is invalid when a file has unsaved changes
Fixed #38 - Toggle Blame Annotation button shows even when it isn't valid
Preps v2.9.0
2017-03-03 03:35:29 -05:00
Eric Amodio
d389a7b588 Stops using default exports 2017-03-03 02:44:07 -05:00
Eric Amodio
5ffd4753bd Changes debugging output to be only when verbose 2017-02-27 00:58:54 -05:00
Eric Amodio
a2f4c4c953 Moves Commands into commands file 2017-02-25 02:19:40 -05:00
Eric Amodio
28fced1b80 Adds showQuickCommitDetails command to CodeLens
Adds showQuickRepoHistory command to CodeLens
Adds showQuickCommitDetails command to the status bar
Adds showQuickRepoHistory command to the status bar
Changes recent CodeLens default command to showQuickCommitDetails
Changes status bar default command to showQuickCommitDetails
2017-02-16 23:33:09 -05:00
Eric Amodio
af5b8b7e09 Changes behavior of CodeLens showQuickFileHistory
It now opens commit details directly
2017-02-16 17:06:37 -05:00
Eric Amodio
6504b7822c Fixes codelens updating when config changes 2017-02-15 13:55:33 -05:00
Eric Amodio
964cfd363e Fixes updating CodeLens after file save
Fixes updating active line annotations after file save
2017-02-06 15:56:39 -05:00
Eric Amodio
2b907788dd Adds whitespace style changes 2017-02-05 13:31:05 -05:00
Eric Amodio
a52b0c9b73 Switches to use as rather than <> 2017-01-02 00:06:42 -05:00
Eric Amodio
72ef5e2902 Adds support for blame & log on compare files
Allows for deep navigation through git history
2016-12-04 00:41:42 -05:00
Eric Amodio
39aa6180ca Updates some @type packages
Fixes typo and utilizes new range method
2016-12-01 23:59:05 -05:00
Eric Amodio
a91afffbb2 Adds logging for #18 2016-11-23 18:44:13 -05:00
Eric Amodio
d3ffabd76b Adds new gitlens.showQuickFileHistory command
Adds new gitlens.showQuickRepoHistory command
Adds gitlens.showQuickFileHistory option to the settings
Removes git.viewFileHistory option
Changes the gitlens.statusBar.command settings default to gitlens.showQuickFileHistory
2016-11-23 02:43:01 -05:00
Eric Amodio
e9db04f0c7 Removes unnecessary subscriptions on invalid blame
Removes duplicate lint rule
Switches on-demand CodeLens to be a global toggle
2016-11-12 16:36:10 -05:00
Eric Amodio
fee9562dd1 Optimizes range slice calculations in CodeLens 2016-11-12 04:17:16 -05:00
Eric Amodio
9c0a38958e Switches to use GitUris 2016-11-12 03:54:21 -05:00
Eric Amodio
a3895d27ab Removes git-blame document scheme
Removes git-blame content provider
Fixes some CodeLens issues
Adds support for git uris in more places
Adds git content CodeLens provider
2016-11-12 03:15:27 -05:00
Eric Amodio
638a6dc838 Adds support for git commands on scheme=git
Rewrites blame annotation controller and provider - fixes whitespace issues, reduces overhead, and provides better performance
Rewrites status bar blame support - reduces overhead and provides better performance
Adds showFileHistory command to status bar
Renames showHistory to showFileHistory
Fixes log to use iso 8601 for dates
2016-11-12 01:25:42 -05:00
Eric Amodio
7ace9cb152 Adds support for custom git installation locations
Also gracefully deals with the times when git isn't in the PATH
2016-11-10 18:33:28 -05:00
Eric Amodio
f4410be30a Adds error messages for failed operations
Adds showHistory command support to CodeLens
Fixes and improve the showHistory explorer
Refactoring
2016-11-10 03:22:58 -05:00
Eric Amodio
409be335f9 1.0 wip 2016-11-03 03:09:33 -04:00
Eric Amodio
d2d72f0d54 Fixes another off-by-one issue when diffing with caching
Refactored commands and blame annotations
2016-09-26 00:55:54 -04:00
Eric Amodio
7a4dcae8c7 Fixes #7 - loading issue on Linux 2016-09-21 02:38:25 -04:00