I just started using GoLand. (I have the vim emulation installed, in case that matters.) When I navigate to a new location in a file using search, going to a specific line, etc., I would like for the editor to just redraw the screen instead of appearing to scroll there. Is there some way to control that? Scrolling would be OK when only moving a short distance. I'm running GoLand 2022.3.2 on a mac running macOS 13.2.
I have seen that in some IDEs, when you print something , a new window opens up.
my question is that is it possible to have the same thing for jupyter notebook ?
P.s:
It would be better if it was customizable; like being able to change the background color of the new window.
You'd want the newer generation of Jupyter interface, JupyterLab. (At least if you want this soon. I don't know what will be possible as Jupyter notebook 7 starts using more of the underlying machinery that JupyterLab uses.)
Default JupyterLab
Using default current JupyterLab, you can make a separate window for any output that you can drag around and arrange how you want. Right-click on an output cell and select from the menu 'Create New View for Output'. That will open a new window that respects the current JupyterLab theme. (There's a lot of theme adapting abilities so maybe that can provide what you need as far as background.) Once the new window is generated you can click and drag it around the JupyterLab window to arrange it relative to the notebook and then release when you have it outlined the way you want. You can try it right in your browser by clicking this link and letting the session spin up.
(This ability was covered in an answer to a similar question 'How to display Jupyterlab output in new tab?'.)
Similarly, you can have a window that keeps updating with the most recent output by using an attached console and toggling on 'Show All Kernel Activity'. When you have a notebook open, either right-click and select 'New Console for Notebook' or go under the main 'File' menu and select 'New Console for Notebook'. This will open a console and you can then right-click on the console pane and toggle on 'Show All Kernel Activity'. As you run things in the notebook, the output will show at the bottom of this window as well. Even rich output like plots and dataframe displays. You can click on the tab and drag to arrange this window as you wish in the main JupyterLAb pane. See some example images using this here and here.
Related:
It's not a separate window; however, a nice feature of JupyterLab is switching to 'View' to 'Render Side-by-Side' where the output goes to the side of the code cell and not below. Alternatively, you can modify the output cell in some ways like you could do in the classic notebook interface, see here.
Sidecar extension of JupyterLab
There's an extension called sidecar for Jupyterlab that I believe has more options. I wonder if you could combine widgets to control the background as you seek. Don't know about the layering possibilities there.
ipylab extension of JupyterLab
ipylab has even more abilities than sidecar for customization, with 'SplitPanel' and 'DockPanel'. Scroll through the examples shown to get an idea of the possibilities. There's also a 'launch binder' badge so you can try it out.
(You may also want to see Related projects listed at the bottom of ipylab's github page.)
I am searching for the shortcut to just close the current tab in the server version of R Studio.
Ctrl+W is occupied by the browser. Ctrl+Shft+W closes all browser tabs. Cltr+Alt+W does nothing and Ctrl+Shft+Alt+W closes all R tabs without the current one.
Is there btw a shortcut to undo the last combination?
A suitable workaround was to just change the shortcut. R Studio allows to set own shortcuts and modify existing ones in the menu. Just go to the toolbar and on "Tools\Modify Keyboard Shortcuts...". I simply set it to Ctrl+Alt+W, because that's unused and somewhat consistent to the fact, that Ctrl+Alt+Shft+W closes all documents that are opened in R Studio, by default.
Good afternoon
I am struggling getting my default pane layout i am used to in R studio (Version 1.3.1073) and view -> panes -> show all panes does not work.
The issue is, I can see all pane (source, console, environment and files) like on the image below. But Environment and File pane cannot be opened simultaneously (in red), i always have to expand one then the other hides . Clicking on the expand button (in green) just expands the other one but it is not possible to see both pane at the same time.
Clicking on the separation bar and get this symbol to shift the pane works only for the console and source pane, but not the environment and file pane, nor show all panes command works.
Does anyone know what i can get to what use to be the default in rstudio pane layout (where content of all panels can be seen without expanding), namely looking like this
Sounds like something pretty basic but i seem to be unable to fix it myself. Thanks a lot for your support.
My NSLog messages no longer show up in my Debug Area. Anyone have an idea how the could have happened?
I can hit command-7 to bring of a list of logs in the left pane, select the latest one and view it in my editor window, but it is extremely annoying compared to having the console output in the debug area.
I had the same issue. Below are fix for this :
You console may be hidden. Press Show the console button present in right corner (blue coloured when console is open).
You may be displaying Debugger or Target output. Select All Output (Checkmark is displayed when selected).
a. Open Xcode preference (shortcut: cmd + ,).
b. Select Behaviours tab from pop-up.
c. From the Build sections select Succeeds.
d. Enable Show debugger with Current Views.
e. Select Console View from the drop-down list.
Not sure but may be you have clicked on one of the three buttons at the top right corner of the debug area that are used to either show only variables view, only the console or both.
if you want to display Debug area always, then follow these steps:
Goto XCode > Preferences > Behaviors > Succeeds >
Check checkbox of Show tab named
Type DEBUG in the textbox next to Show tab named
select separate window in dropdown next to Textbox
Now click checkbox before debugger with and select Console View in the dropdown
Now when you will run our app, console window will popout itself.
And shortcut key for this is command+shift+y
For me, the answer is to 'activate console'
Go to view -> Debug Area -> Activate Console
You have a few choices:
In the menus, select View -> Show Debug Area.
In the View selection controller in the upper right, enable the bottom view (the one in the middle).
If you'd like this to show automatically, go to Preferences -> Behaviors. Select "Run Starts" and enable "Show" Debug Area.
For Xcode 8
I set OS_ACTIVITY_MODE to disable to hide crazy logging message in simulator. But it will also hide NSLog output on my iPhone SE device (print function in swift still works).
Remove the environment variable makes NSLog work again.
Make Sure that in your Debugger Area >> Debugger Bar you have Selected ALL OUTPUT
I had an iOS universal app that would show debugger output for the iPhone version, but not for the iPad version.
I looked into editing the schemes ( commandSHIFT, ) and the iPad scheme had a different debugger than the iPhone scheme. I changed the iPad scheme's debugger to match the iPhone's (from LLDB ---> GDB)
Took me a while to figure this out... Here's a screenshot of Xcode 6.1.1. Make sure you have chosen All output at 1 and activated the output pane in 2. Somehow the output pane suddenly was gone for me and I just didn't see the icons at the bottom for like 2 hours.
Just confirm that you have Xcode open with similar rights as you have the ownership of the files you are trying to build/run and also make sure you have same rights to the build directory. I noticed Xcode won't show any debug output if rights were mismatched. I figured this after facing so much harassment. When this happened, utilities>console was still showing logs. I used that as a workaround.
Mine is: Xcode 4.2 Build 4D199 on OS X 10.7.2
For me, "Debug Executable" in Scheme Settings (Product-->Scheme-->Edit Scheme: Run) had been unchecked.
On an 12.1 Xcode version you can do either:
Option 1: View > Debug Area > Activate Console
Option 2: Shift + cmd + c (to activate console)
Option 3: (if your console is already activated) Shift + cmd + y
Here is a picture for you:
picture that shows menus and options
If you don't have anything displaying in the logs, the log view will unselect itself and not display itself. You could add a printf and verify this.