Commit graph

370 commits

Author SHA1 Message Date
Rene Leonhardt
6fb0b8d30c
fix: Catch AssertionError in countTokens() (#445) 2024-04-10 14:56:35 +03:00
Rene Leonhardt
7d89650062
chore: Improve code (#442)
* chore: Improve code

* Convert classes to records
2024-04-10 14:47:38 +03:00
Rene Leonhardt
c29d3928db
Update to latest 233 platform 2023.3.6 (#439)
* Update to latest 233 platform 2023.3.6

* Use first non-blank choice from response
2024-04-08 16:46:13 +03:00
Carl-Robert Linnupuu
a50e068813 fix: set until build version 2024-04-08 16:38:10 +03:00
Carl-Robert Linnupuu
3ef9aba488 docs: extract getting started guide into its own doc 2024-04-07 17:38:00 +03:00
Carl-Robert Linnupuu
3c2d185b8a 2.6.0 2024-04-07 17:28:39 +03:00
Rene Leonhardt
00c9813eeb
chore(deps): Update checkstyle to 10.15.0 (#438)
* Cleaned versions catalog and dependencies
* Fixed checkstyle finding
2024-04-07 16:53:59 +03:00
Carl-Robert Linnupuu
4688a1c8d0 refactor: remove 'Standard' prefix from toolwindow component class names, and other minor cleanup 2024-04-07 16:45:04 +03:00
Rene Leonhardt
7f505e2c30
chore(deps): Update and centralize dependencies (#436)
* chore(deps): Update and centralize dependencies

* Update treesitter to 0.22.2
* Update kotlin to 1.9.23
* Update jackson to 2.17.0
* Update gradle-intellij-plugin to 1.17.3
* Update gradle to 8.7
* Use BOMs where possible
* Centralize dependencies in version catalog
* Allow Dependabot to update other modules (add treesitter and buildSrc/src/main/kotlin, remove core)

* fix: preload credentials only once for all headers
2024-04-06 13:41:02 +03:00
Carl-Robert Linnupuu
52ceaa6a26 docs: update changelog 2024-04-06 02:25:05 +03:00
Carl-Robert Linnupuu
efe0f0b74a fix: use the proper callback for text area autofocus 2024-04-06 02:24:32 +03:00
Carl-Robert Linnupuu
71aee5f6aa fix: prevent sending completion to a closed channel 2024-04-06 02:02:12 +03:00
Carl-Robert Linnupuu
30025d2378 feat: request focus for text area on toolwindow state changes (closes #423) 2024-04-06 00:49:24 +03:00
Carl-Robert Linnupuu
2048f87fa8 docs: update changelog 2024-04-05 19:05:14 +03:00
Artem Borzov
9ed95f4e4e
fix: correctly handle changed files to generate a commit message #338 (#433)
* fix: properly handle changed files to generate commit message (resolve #338)

* fix: re-include staged diff in the final prompt

---------

Co-authored-by: borzov <borzov@skbkontur.ru>
Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
2024-04-05 19:02:18 +03:00
Carl-Robert Linnupuu
17cfbf43de docs: update readme 2024-04-04 16:40:34 +03:00
Carl-Robert Linnupuu
314fbfbafc docs: update plugin description 2024-04-04 16:16:59 +03:00
Carl-Robert Linnupuu
3246102f06 docs: update changelog 2024-04-04 16:15:55 +03:00
Carl-Robert Linnupuu
fef8f6f903 docs: update changelog 2024-04-03 02:07:54 +03:00
Carl-Robert Linnupuu
f0172722c7 feat: add support for configuring code completions via settings 2024-04-03 02:02:15 +03:00
Carl-Robert Linnupuu
2b98b65210 docs: update changelog 2024-04-02 20:59:22 +03:00
Carl-Robert Linnupuu
79ef7550fe fix: send button enabled state 2024-04-02 20:54:59 +03:00
Carl-Robert Linnupuu
35ee02ba79 feat: display total tokens for all providers (closes #397) 2024-04-02 20:43:26 +03:00
Carl-Robert
8cf5720db9
feat: OpenAI and Claude vision support (#430)
* feat: add OpenAI and Claude vision support

* refactor: replace awaitility with PlatformTestUtil.waitWithEventsDispatching

* feat: display error when image not found

* chore: bump llm-client

* feat: configurable file watcher and minor code cleanup

* fix: ensure image notifications are triggered only for image file types

* docs: update changelog

* fix: user textarea icon button behaviour

* refactor: minor cleanup
2024-04-02 02:50:41 +03:00
Carl-Robert Linnupuu
99b5f94dad fix: enable code completion for DocumentEvent only 2024-03-28 14:55:52 +02:00
Carl-Robert Linnupuu
2ad1e4e917 refactor: code completion request creation to use CodeCompletionRequestFactory for better abstraction 2024-03-28 11:29:45 +02:00
Carl-Robert Linnupuu
6255bf9eb6 fix: preload credentials to avoid long running tasks on EDT 2024-03-28 00:09:49 +02:00
Carl-Robert Linnupuu
b72ddfccd6 fix: migrate from StartupActivity to ProjectActivity 2024-03-27 21:48:48 +02:00
Carl-Robert Linnupuu
9d28e3e009 refactor: code cleanup 2024-03-27 18:27:37 +02:00
Carl-Robert
657868453f
feat: migrate to a new inline completion api (#425)
* fix: plugin since/until build versions

* add necessary kotlin deps

* migrate to new inline completions api

* remove previous implementation

* replace build and platform versions

* bump gradle-intellij-plugin version
2024-03-27 14:34:09 +02:00
Chris Campbell
8ccf331988
fix: Allow single Java files to be added to context (#420) 2024-03-25 11:50:49 +02:00
Carl-Robert Linnupuu
c0c02d9afb refactor: remove custom Azure service configuration 2024-03-14 14:58:58 +02:00
Carl-Robert Linnupuu
42105bf308 refactor: clean up old code 2024-03-14 14:34:29 +02:00
Carl-Robert Linnupuu
33c597d8e5 2.5.1 2024-03-14 14:09:59 +02:00
Carl-Robert Linnupuu
8151a69c7e fix: DeleteConversationAction update thread 2024-03-14 14:06:56 +02:00
Carl-Robert Linnupuu
d4964d139e docs: update changelog 2024-03-14 13:39:22 +02:00
Carl-Robert Linnupuu
a7610acfa1 fix: couple of intellij platform warnings 2024-03-13 16:47:00 +02:00
Carl-Robert Linnupuu
31f96f8642 fix: github workflow build 2024-03-13 12:03:51 +02:00
Carl-Robert Linnupuu
1edea138cf chore: bump sinceBuild and javaVersion 2024-03-13 11:53:15 +02:00
dependabot[bot]
6b2bcc4bf6
chore(deps): bump org.json:json in /codegpt-core (#394)
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20240205 to 20240303.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 23:21:15 +02:00
dependabot[bot]
04c98ba715
chore(deps): bump com.fasterxml.jackson.datatype:jackson-datatype-jsr310 (#402)
Bumps com.fasterxml.jackson.datatype:jackson-datatype-jsr310 from 2.16.1 to 2.16.2.

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jsr310
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 23:20:52 +02:00
Carl-Robert Linnupuu
678768c069 fix: intellij platform warning (#400) 2024-03-12 23:13:16 +02:00
Carl-Robert Linnupuu
8c986fd7de feat: support git commit message generation with custom openai and anthropic service (#390) 2024-03-12 21:27:51 +02:00
Carl-Robert Linnupuu
9990c6a57b feat: add code completion feature toggle keyboard-shortcut (#392) 2024-03-12 16:54:51 +02:00
Carl-Robert
91dd7bdb43
feat: apply post-processing for code completions (#404) 2024-03-11 23:13:10 +02:00
Dmitry Melanchenko
12cf5198f8
feat: implement support for You Pro modes (#399)
* Implement support for You Pro modes: Default, Agent, Custom with various 3rd party models and Research

* Update list of You modes/models depending on user having subscription

* add default value for chatMode
2024-03-11 22:25:33 +02:00
Carl-Robert Linnupuu
acbe550810 2.5.0 2024-03-06 16:10:07 +02:00
Carl-Robert Linnupuu
56c2995707 chore(deps): bump llm-client 2024-03-06 15:44:29 +02:00
Carl-Robert Linnupuu
74e0db5eb6 fix: add default api version 2024-03-06 15:07:58 +02:00
Carl-Robert Linnupuu
1aeac0d867 docs: update docs 2024-03-06 13:02:10 +02:00