Skip to content

[WIP / Experiment] feature(code search): improve code search by supporting filename and linenumbers in both JSON and REGEX parsers #27

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

priyankc
Copy link
Member

@priyankc priyankc commented Apr 24, 2025

Description

Add support for parsing and using filenames and line numbers for code navigation.


PR-Codex overview

This PR introduces new features and enhancements to the TraceBack application, including the integration of an Ollama API endpoint, improved logging capabilities, and additional commands for user interaction.

Detailed summary

  • Added traceback.ollamaEndpoint to package.json for Ollama API configuration.
  • Introduced OllamaService class for managing interactions with the Ollama API.
  • Implemented methods for checking Ollama status and pulling models.
  • Created CodeLocationsProvider for managing code location data in logs.
  • Enhanced ClaudeService to include Anthropic SDK for improved log analysis.
  • Added new commands for setting Ollama endpoint and opening code locations.
  • Updated LogExplorerProvider to support new code location features and enhanced log handling.
  • Improved error handling and user feedback throughout the application.

The following files were skipped due to too many changes: src/logExplorer.ts, src/extension.ts, src/processor.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@priyankc priyankc changed the title feature(code search): improve code search by supporting filename and linenumbers in both JSON and REGEX parsers [WIP / Experiment] feature(code search): improve code search by supporting filename and linenumbers in both JSON and REGEX parsers Apr 24, 2025
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