Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server logs to panel #811

Merged
merged 71 commits into from Dec 21, 2019
Merged

Server logs to panel #811

merged 71 commits into from Dec 21, 2019

Commits on Dec 2, 2019

  1. Configuration menu
    Copy the full SHA
    35c587c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    13681ce View commit details
    Browse the repository at this point in the history
  3. Working towards logging to a panel

    It only displays the last line now.
    It should become a circular buffer.
    Look into using sublime_lib.
    rwols committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    5c0a981 View commit details
    Browse the repository at this point in the history
  4. Add sublime_lib dependency

    rwols committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    7b33477 View commit details
    Browse the repository at this point in the history
  5. First steps with sublime_lib

    Use the Panel class to toggle visibility
    rwols committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    2211232 View commit details
    Browse the repository at this point in the history
  6. Use an OutputPanel from sublime_lib to print server messages to the p…

    …anel
    
    It apparently has an infinite buffer so we should make that circular instead.
    You can click inside the panel and that screws up the output.
    Should not make it interactive.
    rwols committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    e0e67ca View commit details
    Browse the repository at this point in the history
  7. Force writes, seek cursor to end before writing logs

    No need for set_read_only anymore
    rwols committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    963e95e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d539380 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    558f489 View commit details
    Browse the repository at this point in the history
  10. Remove unused import

    rwols committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    7f4b8c8 View commit details
    Browse the repository at this point in the history
  11. All our panels are read-only

    rwols committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    2162c1e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5cb71ff View commit details
    Browse the repository at this point in the history
  13. Remove LspClearPanelCommand

    It is no longer used.
    rwols committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    7b83acf View commit details
    Browse the repository at this point in the history
  14. Remove LspUpdatePanelCommand

    It is no longer used.
    rwols committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    c8867c4 View commit details
    Browse the repository at this point in the history
  15. Remove the server_log function

    It is unused.
    rwols committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    18e03ab View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2019

  1. Configuration menu
    Copy the full SHA
    1ffbde1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9621225 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    91ad2c7 View commit details
    Browse the repository at this point in the history
  4. Revert "Convert te panel handling in diagnostics.py to using a sublim…

    …e_lib.OutputPanel"
    
    This reverts commit 558f489.
    rwols committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    a401798 View commit details
    Browse the repository at this point in the history
  5. Revert "Convert the panel handling in references.py to using an Outpu…

    …tPanel"
    
    This reverts commit d539380.
    rwols committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    0dff79e View commit details
    Browse the repository at this point in the history
  6. Revert "Remove LspUpdatePanelCommand"

    This reverts commit c8867c4.
    rwols committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    e4c6675 View commit details
    Browse the repository at this point in the history
  7. Revert "Remove LspClearPanelCommand"

    This reverts commit 7b83acf.
    rwols committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    2b1503f View commit details
    Browse the repository at this point in the history
  8. Replace OutputPanel with lsp_update_server_panel command

    The command modifies the panel atomically, preventing jankyness
    rwols committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    85c566e View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. Configuration menu
    Copy the full SHA
    c7a53e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b84d05 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2019

  1. Configuration menu
    Copy the full SHA
    bb01fea View commit details
    Browse the repository at this point in the history
  2. Do not print the payloads of textDocument/did{Change,Open}

    They are too large and ST will refuse to syntax-highlight long lines anyway.
    rwols committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    048042b View commit details
    Browse the repository at this point in the history
  3. Revert "First steps with sublime_lib"

    This reverts commit 2211232.
    rwols committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    838606d View commit details
    Browse the repository at this point in the history
  4. Fix mypy errors

    rwols committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    41ea96b View commit details
    Browse the repository at this point in the history
  5. Revert dependencies.json

    rwols committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    0119948 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    01aa8fe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0316b51 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    465c123 View commit details
    Browse the repository at this point in the history
  9. Do not enable "word_wrap" for now

    I get a few hickups in the UI when "word_wrap" is enabled in the panel.
    I'm not sure how to deal with this.
    rwols committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    361aa3e View commit details
    Browse the repository at this point in the history
  10. Fine tuning

    rwols committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    c1caa9c View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2019

  1. Configuration menu
    Copy the full SHA
    809b783 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b3ff2d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b93b710 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2322d85 View commit details
    Browse the repository at this point in the history
  5. Update LSP.sublime-settings

    rwols committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    85801d2 View commit details
    Browse the repository at this point in the history
  6. Fix mock Client class

    It was missing a method, causing an AttributeError in the session starter
    rwols committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    b5f1d83 View commit details
    Browse the repository at this point in the history
  7. Fix sync requests not working for the server panel

    Also, only hook up the log payload handler if we actually have a panel
    available to us (a.k.a. don't hook it up in tests)
    rwols committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    3e08a77 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9f15d95 View commit details
    Browse the repository at this point in the history
  9. Fix broken test depending on external state

    Run "Test Current File" from the command palette twice to see the effect.
    rwols committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    5a87afb View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2019

  1. Deprecate lsp_show_diagnostics_panel command

    Print a message to the console for users that have this command mapped
    to some other keybinding in their user prefs.
    rwols committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    e3ad7d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32aad5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    144dd48 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aabcc73 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. Put the name of the server after the arrow

    Replace the word "LSP" with just a colon
    rwols committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    45f738b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e096ffb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24934a6 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2019

  1. Configuration menu
    Copy the full SHA
    4cb2a41 View commit details
    Browse the repository at this point in the history
  2. Lookahead for any non-whitespace character instead of a '{'

    in order to match "None" or the beginning of a list '['
    rwols committed Dec 12, 2019
    Configuration menu
    Copy the full SHA
    69e4050 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2019

  1. Configuration menu
    Copy the full SHA
    241e8d8 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2019

  1. Cleanly destroy panels

    Before this change, you'd get an error popup about a missing syntax file.
    So, change the syntax to plain text just before destroying the output panel.
    
    This ensures a clean shutdown of the package (w.r.t. panels at least)
    rwols committed Dec 14, 2019
    Configuration menu
    Copy the full SHA
    9eef111 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feature/server-logs-to-panel' of github.com:tomv564/LSP…

    … into feature/server-logs-to-panel
    rwols committed Dec 14, 2019
    Configuration menu
    Copy the full SHA
    a678863 View commit details
    Browse the repository at this point in the history
  3. Put "lsp_active": True in all panels

    So that keybindings with a context keep working if the user's cursor
    is in the panel somewhere.
    rwols committed Dec 14, 2019
    Configuration menu
    Copy the full SHA
    cf70d00 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2019

  1. Configuration menu
    Copy the full SHA
    fb1cd3c View commit details
    Browse the repository at this point in the history
  2. Don't modify settings.py

    rwols committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    9ae3f3e View commit details
    Browse the repository at this point in the history
  3. Minimally modify boot.py

    rwols committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    cbe8c6c View commit details
    Browse the repository at this point in the history
  4. Compactify imports

    rwols committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    11b5452 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fe5f2b8 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2019

  1. Merge branch 'master' into feature/server-logs-to-panel

    Conflicts:
    	plugin/core/process.py
    	plugin/core/sessions.py
    	plugin/core/test_windows.py
    	plugin/core/windows.py
    rwols committed Dec 18, 2019
    Configuration menu
    Copy the full SHA
    86fb529 View commit details
    Browse the repository at this point in the history
  2. Don't make the WindowManager do all the work that the Client already did

    Instead, we have a logger class now with methods such as
    outgoing_request, incoming_request.
    
    The WindowManager modifies the eventual log sink of that object so
    that it'll log to a panel.
    
    Interestingly, this also makes it easy to log to the console again.
    rwols committed Dec 18, 2019
    1 Configuration menu
    Copy the full SHA
    b9eccf4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c6dd8b5 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2019

  1. Configuration menu
    Copy the full SHA
    b77efa3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9c990d View commit details
    Browse the repository at this point in the history
  3. Fix overindentation

    rwols committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    178295c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a9f385d View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2019

  1. Configuration menu
    Copy the full SHA
    384f3a3 View commit details
    Browse the repository at this point in the history
  2. struck by flakiness yet again

    rwols committed Dec 21, 2019
    Configuration menu
    Copy the full SHA
    062f571 View commit details
    Browse the repository at this point in the history