Skip to content
Discussion options

You must be logged in to vote

Hey @martin-fleck-at,

Thanks for the response and your suggestions. I ended up with a fairly good solution but let me know your thoughts.

The trigger action for layout in the vscode-integration, triggers LayoutOperation in the configuration-utils, as far as I'm aware this has no access to the viewport, and then LayoutOperation is sent direct to the server.

I had to do the following:

  • Create a new action RequestLayoutAction and it's handler, in the client side, the handler retrieves the viewport information and then returns an extended LayoutOperation with that information that gets sent to the server.
  • Override the LayoutOperationHandler (already done this so I can reconcile the layout res…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@jmenzies12
Comment options

Answer selected by jmenzies12
@martin-fleck-at
Comment options

@jmenzies12
Comment options

@martin-fleck-at
Comment options

@jmenzies12
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants