Skip to content

Commit

Permalink
Merge pull request #34 from MetabobProject/fix-syntax-highlight
Browse files Browse the repository at this point in the history
feat: replaced hard-coded syntax highlight with dynamic one
  • Loading branch information
AviGopal authored Feb 29, 2024
2 parents e8ddc23 + 41dde04 commit 59295b8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
6 changes: 0 additions & 6 deletions src/components/Analyze/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ export const AnalyzePage = ({
return false;
}

console.log('problem.fullFilePath: ', problem.fullFilePath);
console.log('currentWorkSpaceProject: ', currentWorkSpaceProject);

if (problem.fullFilePath === currentWorkSpaceProject) {
return true;
}
Expand All @@ -55,9 +52,6 @@ export const AnalyzePage = ({
return false;
}

console.log('currentEditor: ', currentEditor);
console.log('splitString: ', splitString);

if (splitString !== currentEditor && problem.isDiscarded === false) {
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Sugggestion/Recommendation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface RecommendationProps {
text: string;
}
export const Recommendation = ({ text }: RecommendationProps): JSX.Element => {
const markedDownText = `~~~python\n${text}~~~`;
const markedDownText = `~~~${text}~~~`;

return (
<>
Expand Down
2 changes: 0 additions & 2 deletions src/context/UserContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ const AccountSettingProvider = ({ children }: Props): JSX.Element => {
currentFile,
} = payload;

console.log('INIT_DATA: ', payload);

setApplicationState(ApplicationWebviewState.ANALYZE_MODE);

if (hasOpenTextDocuments) {
Expand Down

0 comments on commit 59295b8

Please sign in to comment.