Repository navigation
Commit 54a6fdb
committed
Prevent duplicate token counting notifications for workspace roots
- the 'crunching tokens' notification should be shown only on startup or when user adds new root folder to the workspace.
└── apps
└── editor
└── src
└── context
├── context-initialization.ts
├── helpers
│ ├── get-all-workspace-files.ts
│ └── get-selected-files.ts
├── providers
│ ├── open-editors
│ │ └── open-editors-provider.ts
│ ├── selected-files
│ │ └── selected-files-provider.ts
│ └── workspace
│ ├── modules
│ │ ├── index.ts
│ │ └── token-calculator.ts
│ └── workspace-provider.ts
├── shared-context-state.ts
└── utils
└── shrink-file
├── index.ts
├── languages
│ ├── c-style.ts
│ ├── css.ts
│ ├── html.ts
│ ├── jsx.ts
│ ├── python.ts
│ ├── ruby.ts
│ └── sql.ts
├── shrink-file.spec.ts
├── shrink-file.ts
└── test-cases
├── c-style
│ ├── input.txt
│ └── output.txt
├── css
│ ├── input.txt
│ └── output.txt
├── html
│ ├── input.txt
│ └── output.txt
├── jsx
│ ├── input.txt
│ └── output.txt
├── python
│ ├── input.txt
│ └── output.txt
├── ruby
│ ├── input.txt
│ └── output.txt
├── scss
│ ├── input.txt
│ └── output.txt
└── sql
├── input.txt
└── output.txt1 parent 004833b commit 54a6fdb
1 file changed
Lines changed: 35 additions & 69 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| 252 | + | |
251 | 253 | | |
252 | 254 | | |
253 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
254 | 263 | | |
255 | 264 | | |
256 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
257 | 270 | | |
258 | 271 | | |
259 | 272 | | |
260 | | - | |
| 273 | + | |
261 | 274 | | |
262 | 275 | | |
263 | 276 | | |
| |||
678 | 691 | | |
679 | 692 | | |
680 | 693 | | |
681 | | - | |
| 694 | + | |
682 | 695 | | |
683 | | - | |
684 | | - | |
685 | 696 | | |
686 | | - | |
687 | | - | |
688 | 697 | | |
689 | | - | |
690 | | - | |
| 698 | + | |
| 699 | + | |
691 | 700 | | |
692 | | - | |
| 701 | + | |
693 | 702 | | |
694 | | - | |
695 | | - | |
696 | 703 | | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
| 704 | + | |
| 705 | + | |
707 | 706 | | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
720 | 715 | | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | 716 | | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
728 | 723 | | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | 724 | | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
| 725 | + | |
760 | 726 | | |
761 | 727 | | |
762 | 728 | | |
| |||
0 commit comments