[PR #838] [MERGED] GraphQL Query Editor Syntax Highlighting #2895

Closed
opened 2026-03-17 00:33:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/838
Author: @AndrewBastin
Created: 5/2/2020
Status: Merged
Merged: 5/3/2020
Merged by: @AndrewBastin

Base: masterHead: feat/gql-query-highlight


📝 Commits (2)

  • db2429d Added syntax highlighting to GQL Queries
  • 7b52637 Removed unnecessary lang parameter for GQL Query Editor

📊 Changes

2 files changed (+124 additions, -11 deletions)

View changed files

📝 components/graphql/queryeditor.vue (+9 -11)
functions/syntax/gqlQueryLangMode.js (+115 -0)

📄 Description

Yay, first PR in after a while!

This PR intends to add syntax highlighting to the GraphQL query editor.

There could be some improvements made (like for applying highlighting non-builtin types), but this provides a working implementation for now.

This PR fixes #741


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/838 **Author:** [@AndrewBastin](https://github.com/AndrewBastin) **Created:** 5/2/2020 **Status:** ✅ Merged **Merged:** 5/3/2020 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `master` ← **Head:** `feat/gql-query-highlight` --- ### 📝 Commits (2) - [`db2429d`](https://github.com/hoppscotch/hoppscotch/commit/db2429d1cb3d603e33d6b8764be6e46ac3d0f577) Added syntax highlighting to GQL Queries - [`7b52637`](https://github.com/hoppscotch/hoppscotch/commit/7b52637c5f3ee75a22385f672de057428eca9f7f) Removed unnecessary lang parameter for GQL Query Editor ### 📊 Changes **2 files changed** (+124 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `components/graphql/queryeditor.vue` (+9 -11) ➕ `functions/syntax/gqlQueryLangMode.js` (+115 -0) </details> ### 📄 Description Yay, first PR in after a while! This PR intends to add syntax highlighting to the GraphQL query editor. There could be some improvements made (like for applying highlighting non-builtin types), but this provides a working implementation for now. This PR fixes #741 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:33:32 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2895
No description provided.