Skip to content

Fix/interractive_4#16

Merged
raphaelmansuy merged 63 commits intomasterfrom
fix/interractive_4
Sep 7, 2024
Merged

Fix/interractive_4#16
raphaelmansuy merged 63 commits intomasterfrom
fix/interractive_4

Conversation

@raphaelmansuy
Copy link
Copy Markdown
Owner

No description provided.

… and remove unnecessary validation for `retrieve_file_paths`
@raphaelmansuy raphaelmansuy merged commit de54003 into master Sep 7, 2024
@raphaelmansuy raphaelmansuy deleted the fix/interractive_4 branch September 7, 2024 14:03
CTY-git pushed a commit to patched-codes/code2prompt that referenced this pull request Sep 23, 2024
* 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
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.

1 participant