Skip to content

Extract FileContent from InstructionsExtractor

What does this MR do and why?

Extract CodeSuggestions::FileContent class from CodeSuggestions::InstructionsExtractor. Takes content below cursor into account when extract code suggestions instructions from a file.

The main idea to create a new class is to take away some logic from CodeSuggestions::InstructionsExtractor shoulders.

Related to #429237 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vitali Tatarintev

Merge request reports