Operation | IntelliJ calls it | IntelliJ (Win/Linux) | IntelliJ (macOS) | Eclipse calls it | Eclipse (Win/Linux) | Eclipse (macOS) |
---|---|---|---|---|---|---|
Look up where a variable or class is actually used/referenced | Find usages | alt+shift+7 | alt+F7 | Global lookup | ctrl+shift+G | cmd+shift+G |
Move the cursor to the next compile error or warning | Jump to next problem | F2 | F2 | Next | ctrl+. | cmd+. |
Show recommended fixes for the selected problem | Pop up context actions | alt+enter | alt+enter | Show quick fixes | ctrl+1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.imglib2.mesh.alg; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.HashSet; | |
import java.util.List; | |
import java.util.function.BiConsumer; | |
import net.imglib2.Localizable; | |
import net.imglib2.mesh.io.ply.PLYMeshIO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.IOException; | |
import net.imagej.Dataset; | |
import net.imagej.ImageJ; | |
import net.imagej.mesh.Mesh; | |
import net.imagej.mesh.io.ply.PLYMeshIO; | |
import net.imagej.ops.OpService; | |
import net.imglib2.RandomAccessibleInterval; | |
import net.imglib2.converter.Converters; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ DatasetService ds | |
#@ net.imagej.units.UnitService units | |
#@ UIService ui | |
// Parameters to play with! | |
// log-linear equation: cal(raw) = a + b * ln(c + d*raw) | |
xa = 0; xb = 10; xc = 1; xd = 1 // cal(xRaw) = 10*ln(1+xRaw) | |
ya = 0; yb = 5000; yc = 1; yd = 3000 // cal(yRaw) = 5000*ln(1+3000*yRaw) | |
// units |
We have a set of many components (software libraries and/or applications) known as a Bill of Materials (BOM). Many of these components depend on other components, forming a dependency graph (no cycles).
These components are under active development, with new versions being released over time. The BOM lists each component at a specific version, with the idea that all components of the BOM will work successfully together when used as dependencies of a derivative work.
For example, suppose we have the following components:
- Guava v21 ← no dependencies
- Math v1 ← depends on Guava v21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/env/bin python | |
# Generate pyramidal OME-TIFF. | |
# Adapted from: | |
# https://github.com/ome/bio-formats-examples/blob/88d3f109093fb3350242061b00624af001f495e8/src/main/java/GeneratePyramidResolutions.java#L39-L43 | |
import sys | |
import scyjava |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started application as PID 272117 | |
imagej-launcher version bigger that non-working version (6.0.1 vs. 4.0.5), all good. | |
This is sciview / scenery, development version ( / (9877ce)) | |
Resetting language to Python | |
WARNING did not load JythonAutoCompletions | |
Loaded Deferred Shading (Deferred Shading, with HDR postprocessing and FXAA) | |
Creating Vulkan instance with extensions VK_KHR_xlib_surface,VK_KHR_surface and layers | |
Physical devices: | |
0: Nvidia NVIDIA GeForce GT 1030 (DiscreteGPU, driver version 470.252.64, Vulkan API 1.2.175) (selected) | |
1: (Unknown vendor) llvmpipe (LLVM 12.0.0, 256 bits) (CPU, driver version 0.0.1, Vulkan API 1.0.2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ CommandService cs | |
#@ ModuleService ms | |
#@ ScriptService ss | |
modules = ms.getModules() // get all modules! | |
future = ms.run(modules[0], true, listOrMapOfArguments) | |
// if you want to block till completion: | |
m = future.get() | |
outputs = m.getOutputs() // is a dict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.scijava</groupId> | |
<artifactId>pom-scijava</artifactId> | |
<version>29.2.0</version> | |
<relativePath /> | |
</parent> |
NewerOlder