Skip to content

Add Full-Screen Button for Code Editor #51

Description

@Sushma-1706

Currently, the Code Editor is fixed within the page layout. For better usability, especially when working with long or complex code, it would be very helpful to have a Full-Screen toggle button.

Proposed Solution
Add a button (e.g., in the editor’s top-right corner) that allows users to expand the editor to full screen.
Button toggles between Normal View ↔ Full Screen View.
Ensure the full-screen mode still supports features like syntax highlighting, copy button, and analyze/explain functionality.

Benefits
Improves readability of large code snippets.
Enhances focus by minimizing distractions.
Makes the platform more user-friendly, similar to popular code playgrounds (e.g., CodePen, VS Code web).

Additional Context
Screenshot of current editor:
(Attach the image you just shared here)

Metadata

Metadata

Labels

Level 2 ⭐⭐Intermediate tasks. Requires some knowledge of the codebase or technology.OSCI

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions