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

Sync fork #2

Merged
merged 108 commits into from
Sep 23, 2024
Merged

Sync fork #2

merged 108 commits into from
Sep 23, 2024

Conversation

CTY-git
Copy link

@CTY-git CTY-git commented Sep 23, 2024

No description provided.

raphaelmansuy and others added 28 commits September 23, 2024 15:43
* first_phase_refactoring

* add nice print help

* update

* fix(code2prompt): r(code2prompt): improve token price display

* update

* fix(.): r: remove unused imports and variables

* fix: Improve README.md

* docs: Improve documentation for code2prompt/main.py

* feat: Add improvements.md file with suggested enhancements

* feat: Implement logging in critical areas of the code

* fix: Add log_error function to logging_utils

* fix: Add log_output_created function to logging_utils.py

* feat: Add log_clipboard_copy and log_token_count functions to logging_utils

* feat: Add colored logging to the terminal

* feat: Add log level configuration in command line

* feat: Add logging level configuration to .code2promptrc and analyze-code.j2

* feat: Improve log message formatting

* fix: Add stderr logging for clipboard copy success and failure

* fix: Set default log level to WARNING

* feat: Add color and emoji to clipboard copy success message

* feat: Add header to token price estimation output

* fix: Correct token price output formatting

* fix: Correct the order of input and output prices in log_token_prices function

* fix: Correct the order of "In" and "Out" tokens in the log_token_prices function

* fix: Correct the formatting of the token price table

* fix/aider(.gitignore): add .aider* to ignore file

* fix(code2prompt): update main.py file

* fix(gitignore): add .ruff_cache to gitignore

* first version

* better version

* fix(code2prompt): enhance interactive command with improved cursor navigation and visible line handling

* fix(code2prompt): add terminal resize handling and improve instructions

* fix(code2prompt): move interactive_command.py to commands directory

* fix(include_loader): import jinja2 to resolve undefined name error

fix(logging_utils): remove unused logger variable

chore(deps): add jinja2 dependency to pyproject.toml

test(analyzer): remove unused imports

test(create_template_directory): remove unused imports

test(include_loader): remove unused imports

test(is_filtered): improve readability and consistency

test(template_include): remove unused imports

* fix(code2prompt/utils): Improve logging and file processing criteria

* fix(code2prompt/commands): improve `get_terminal_height`, `get_directory_tree`, and `format_tree` functions

* fix(code2prompt/commands): improve interactive command page up and down functionality

* fix(code2prompt): add interactive file selector for generate command

* fix(code2prompt/commands): Refactored interactive file selector, added support for multiple paths

* fix(code2prompt): Refactor InteractiveFileSelector to handle multiple paths

* fix(code2prompt/commands): improve interactive file selector responsiveness to terminal resize events

* fix(code2prompt): Introduce file_path_retriever module to handle file path filtering and processing

* fix(code2prompt/commands): improve code organization and documentation in the GenerateCommand class

* fix(code2prompt): Improve performance of `_get_directory_tree` method and remove unnecessary validation for `retrieve_file_paths`

* fix(code2prompt/commands): handle invalid or missing paths in interactive selector

* fix(code2prompt/commands): create and use private methods to handle key bindings and application creation

* fix(code2prompt/commands): update interactive file selector to use Path objects

* fix(code2prompt): improve interactive file selector behavior

* fix(code2prompt/commands): improve directory tree generation and formatting

* fix(code2prompt/commands): improve interactive file selector
* fix(code2prompt): handle both directory and file inputs in generate function

* fix(changelog): fix the selection on individual files. you must install it
…mansuy#18)

* feat(syntax-highlighting): add custom syntax mapping support

* feat(version): bump version to 0.9.0
@CTY-git CTY-git merged commit 92c2723 into master Sep 23, 2024
CTY-git pushed a commit that referenced this pull request Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants