Project Loading Issues
Problems related to loading your project in Gitlantis.Error: No Active Project Open
Error: No Active Project Open
Error Type:
no-project-open (from DIRECTORY_ERRORS.no_open_project)Symptoms:- Gitlantis shows “You have no active project open at the moment”
- The ocean is empty with no files or folders
- No workspace folder is open in VS Code
- The workspace folder path is invalid or cannot be found
- Open a folder in VS Code: File > Open Folder
- Select your project directory
- Restart Gitlantis or reload the webview
- The project should now appear in the ocean
src/extension/handlers/readDirectory/index.ts:38-46 and src/extension/config/index.ts:19.Error: Problem Loading Your Project
Error: Problem Loading Your Project
Error Type:
no-project-open (generic fallback)Symptoms:- Error message: “There was a problem loading your project”
- Files and folders don’t appear
- File system permissions issues
- Corrupted workspace metadata
- VS Code API errors
- Check file system permissions for the project folder
- Try closing and reopening VS Code
- Verify the workspace folder path is valid
- Check VS Code’s Output panel for additional error details
- Try opening a different project to isolate the issue
src/extension/handlers/readDirectory/index.ts:37-46.VS Code API Error
VS Code API Error
Error Type:
vscode-api-error (from DIRECTORY_ERRORS.vscode_api_error)Symptoms:- Communication between the extension and webview fails
- Commands don’t work (file opening, directory navigation)
- Extension host crashed or restarted
- Webview lost connection to the extension
- VS Code extension API is unavailable
- Reload the VS Code window: Developer: Reload Window
- Check if other extensions are causing conflicts
- Disable other extensions temporarily to test
- Update VS Code to the latest version
- Reinstall Gitlantis if the issue persists
src/extension/config/index.ts:18.File and Folder Interaction Issues
Problems when trying to open or navigate files and folders.Files Won't Open
Files Won't Open
Symptoms:
- Pressing Shift+Enter does nothing
- Error message: “Cannot open the file at: [path]”
- File has been deleted or moved
- Insufficient permissions to read the file
- File path is invalid or contains special characters
- Not in collision range with the file object
- Make sure you’re close enough to the file (collision detection active)
- Verify the file still exists in the file system
- Check file permissions (read access required)
- Try refreshing the directory view (go back and re-enter)
- Check for special characters in the file path that might cause issues
src/extension/handlers/openFile/index.ts:3-10.Shortcuts Not Working
Shortcuts Not Working
Symptoms:
- Shift+Enter, Escape, or other shortcuts have no effect
- Keys seem unresponsive
- Focus is not on the Gitlantis webview
- Shortcuts are disabled in settings
- Key event listeners are not attached
- Another extension is intercepting the keys
- Click on the Gitlantis webview to ensure it has focus
- Check that shortcuts are enabled in settings
- Verify you’re in collision range with an object (for Shift+Enter)
- Try reloading the webview
- Disable other extensions that might intercept keyboard events
- Check browser console for JavaScript errors
src/browser/hooks/useNode/shortcuts/index.ts:95-106.Collision Detection Not Working
Collision Detection Not Working
Symptoms:
- Can’t open files even when next to them
- Shortcuts work but select the wrong object
- Collision state ref is not initialized
- Physics engine issues
- Object positions are out of sync
- Sail away from the object and approach again
- Reload the webview to reset collision state
- Check for console errors related to collision detection
- Verify the object is loaded (visible in the scene)
- Try using the minimap to navigate to a different area and back
src/browser/hooks/useNode/shortcuts/index.ts:23-29.Navigation and Movement Issues
Problems with boat controls and navigation.Boat Won't Move
Boat Won't Move
Symptoms:
- WASD or arrow keys don’t move the boat
- Boat is stuck in place
- Keyboard event listeners not attached
- Focus is on another element
- JavaScript errors preventing movement code
- Click on the Gitlantis webview to restore focus
- Check browser console for errors
- Reload the webview
- Try pressing different movement keys (W, A, S, D, or arrows)
- Verify settings haven’t disabled movement
src/browser/hooks/useBoat/keyboard/index.ts:8-70.Boat Moving Too Fast or Slow
Boat Moving Too Fast or Slow
Symptoms:
- Navigation is uncomfortably fast or slow
- Hard to control the boat precisely
- Boat speed settings are not optimal for your preference
- Acceleration/deceleration settings need adjustment
- Open Gitlantis settings
- Adjust the boat speed setting
- Fine-tune acceleration and deceleration for better control
- Test different values until comfortable
Minimap Not Showing
Minimap Not Showing
Symptoms:
- No minimap visible on screen
- F key doesn’t toggle minimap
- Minimap is disabled in settings
- Splash screen is still showing
- Opacity transition hasn’t completed
- Check settings and set minimap to “Show”
- Wait for splash screen to fade (1700ms delay)
- Look for the minimap toggle button in the top-right corner
- Try pressing F to toggle fullscreen mode
- Reload the webview if minimap still doesn’t appear
src/browser/components/world/minimap/toggle.tsx:11 and src/browser/components/world/minimap/index.tsx:17-19.Compass Not Updating
Compass Not Updating
Symptoms:
- Compass shows wrong direction
- Direction doesn’t update when turning
- Boat ref is not initialized
- Update interval is broken
- Reload the webview to reinitialize the compass
- Check browser console for errors
- Verify the boat is loaded and visible
- Try moving the boat to trigger compass updates
src/browser/hooks/useBoat/compass/index.ts:9-22.Performance Issues
Problems with frame rate, lag, or responsiveness.Low Frame Rate / Lag
Low Frame Rate / Lag
Symptoms:
- Choppy animation
- Delayed response to keyboard input
- Slow rendering
- Large project with many files/folders
- Computer hardware limitations
- Other resource-intensive programs running
- Close other applications to free up resources
- Navigate to smaller subdirectories instead of the root
- Reduce visual effects in settings:
- Lower bobbing/rocking amplitude
- Simplify boat colors (solid colors perform better)
- Update graphics drivers
- Increase hardware acceleration in VS Code settings
src/browser/hooks/useBoat/navigation/index.tsx:48 for delta time handling.Stuttering During Navigation
Stuttering During Navigation
General Troubleshooting Steps
If you encounter an issue not listed above:Check Browser Console
Open the browser developer tools in the webview:
- In VS Code, open Help > Toggle Developer Tools
- Look for error messages in the Console tab
- Note any red error messages or warnings
Reload the Webview
Refresh Gitlantis to reset the state:
- Close the Gitlantis webview panel
- Reopen Gitlantis from the command palette
- Wait for the project to load completely
Reload VS Code
Restart the entire VS Code window:
- Open the Command Palette (Cmd/Ctrl+Shift+P)
- Run Developer: Reload Window
- Wait for VS Code to restart
- Open Gitlantis again
Check for Updates
Ensure you’re running the latest version:
- Open the Extensions panel
- Search for Gitlantis
- Check if an update is available
- Update and reload if necessary
Error Type Reference
Quick reference for error types defined in the source code:vscode-api-error
Communication failure between extension and webview
no-project-open
No workspace folder is open or can’t be found
generic
General error not categorized elsewhere
src/extension/config/index.ts:17-21 for error constant definitions.