Edit -> special Edit -> tab to spaces
2、sourceinsight 解决换行tab同4个spaces不对齐:
options -> Document options -> 右下角 Editing Options -> 勾选 Expand Tabs
3、sourceinsight 调整字体大小:
options -> Document options -> 左上角 Document Type -> Screen Fonts
墨衍会员
·
AI 创作全网分发
墨衍智能分发
本文由作者通过墨衍一键同步至各平台
1分发平台
900+累计阅读
983平均单平台
已同步平台
优快云
微信公众号
微博
知乎
掘金
百家号
博客园
抖音
小红书
你的文章也可以这样分发
墨衍会员 ¥399起/年,写一次发全网
我也要 →
码龄18年
Source Insight 4.0高效编码必改的5个设置:从Tab宽度到自动补全,提升你的敲代码速度
本文详细介绍了Source Insight 4.0中5个关键配置调整,包括Tab宽度、自动补全、视觉辅助、智能缩进和工作流优化,帮助开发者显著提升编码效率。通过专业设置如Tab键行为优化和自动补全触发阈值调整,让这款强大的代码编辑器更符合个人开发习惯,实现高效编码。
Source Insight Table转空格
像我今天就遇到个不允许用Table只能用空格的问题,平常用Table的我就很不习惯,用了Source Insight把所有的Table转换成了空格。option -> File Type Options按照下图勾选,这样后面输入的Table都会自动变化成空格。提交代码的时候,有些库对Table和空格会有要求,不按照规则来的话,提交的时候会校验不过。选中代码内容,Edit -> Special Edit -> Tab to Spaces。首先是对当前的Table转换成空格。
Source Insight使用配置
一.Options->DocumentOptions 1.Document Type& File Filter Document Type File Filter C Source File *.h;*.c;*.m;*.pch C++ Source File *.cpp;*.hpp
sourceinsight tab 和空格转换
source insight 如何设置tab 和空格缩进
Source Insight增强插件:Tab标签式代码管理工具
Source Insight是一款面向软件开发人员的专业代码编辑与分析工具,广泛应用于C/C++等编程语言的大型项目开发中。其核心优势在于构建了动态的符号数据库,支持实时语法高亮、跨文件函数调用追踪及变量定义跳转,极大提升了代码阅读与维护效率。通过自动解析源文件并生成可视化的关系图谱,开发者可直观掌握项目结构。该工具还支持高度定制化的界面布局与快捷键配置,适配多样化开发习惯。
Source Insight高效开发配置与护眼配色方案指南
Source Insight是一款专为程序员设计的源代码阅读与分析工具,广泛应用于C/C++、Java、Python等多种编程语言的开发和维护过程中。它通过动态解析源码结构,自动生成符号数据库,实现跨文件函数调用追踪、变量定义跳转、类与结构体关系图谱展示等高级功能,极大提升了开发者对大型项目的理解效率。其核心优势在于实时索引机制与深度语法解析能力,能够在不依赖编译环境的前提下精准识别代码语义单元。
Source Insight4.0 tab键修改为4个空格操作方法
Source Insight4.0设置tab为4个空格操作说明
告别手动输入!用Access批量导入307种土壤数据到SWAT模型(附完整MDB操作流程)
本文详细介绍了如何利用Microsoft Access批量导入307种土壤数据到SWAT模型,显著提升数据录入效率。通过解析usersoil表结构、提供Access操作指南和VBA自动化脚本,帮助环境工程师避免手动输入错误,实现高效数据管理。文章还包含性能优化技巧和常见错误解决方案,是SWAT模型用户的实用指南。
Source Insight 4.0显示Tab键、空格以及Tab键转为4个空格
Source Insight 4.0中显示Tab键、空格、以及用4个空格替换Tab键,如下选择"Options"-->"Preferences"接着选择对应的文件类型,把Tab、空格、以及Tab强制转换为空格都勾选上。
MT25QL256完整操作指南:从ID读取到4KB扇区擦除(附华大SPI例程)
本文提供了MT25QL256 NOR FLASH在华大MCU上的完整驱动开发指南。内容涵盖从SPI初始化、器件ID读取、状态寄存器查询,到核心的页编程和4KB扇区擦除操作,并分享了构建健壮驱动框架、处理跨页写入及常见调试问题的实战经验。
操作系统笔记(含王道计算机考研——操作系统课件)
操作系统(OS) 笔记根据B站王道计算机考研——操作系统视频整理所得,视频链接:https://b23.tv/0I2qex 视频中所用课件:链接:https://pan.baidu.com/s/101bFWm0Tv0emNpEneidYPA 提取码:y3dd 1.计算机系统概述 1.简介 什么是操作系统? 操作系统(Operating Ststem, OS)是指控制和管理整个计算机系统的硬件和软件资源,并合理地组织调度计算机的工作和资源的分配,以提供给用户和其他软件方便的接口和环境,它是
Source Insight 4.0 配置将tab自动替换为空格
Source Insight 4.0,配置将tab自动转换为空格。
AI漫剧制作全流程零基础实操指南:从剧本到剪辑
AI漫剧是一种利用AI工具将剧本、分镜、出图、配音、剪辑整合为流水线的短视频内容形式。其技术原理基于文生图、图生图与文本转语音模型的组合,核心挑战在于角色一致性控制与分镜批量出图。这项技术大幅降低了视频制作门槛,使个人创作者无需演员和设备即可产出剧情向短内容,广泛应用于短视频平台的情景剧、玄幻、甜宠等题材。本文给出了一套零基础可照做的全流程实操方案,覆盖剧本提示词、分镜表、出图选型、配音合成与剪辑模板,帮助你快速跑通AI漫剧制作链路。
Source_Insight4常用设置
1. 显示行号 菜单栏:View------>Line Numbers(打勾) 2. 设置选中目标单词高亮 函数体代码比较多的时候,该功能可以让我们更快地跟踪某个单词(字符串)的赋值情况,默认按下F8高亮目标单词,再次按下F8取消高亮,如下: 除了按下F8高亮所选单词外,还可以进行全局配置,只需鼠标单击就可以实现相同的效果,配置为: Options->File Type Options->Editing Options-> Highlight r..
芯片测试:WAT、CP、FT
最近部门来了一个日本回来的同事,虽然他尽量用非常Poor的中文给我解释一些东西,其中还夹杂着一些英文让我很受挫,于是最近来学一下WAT中的常用的单词含义。直接去查缩写、查单词很难去记住,要把具体的东西放在具体的场景,引发知识的连接才会在脑子里留下一定的映像。感兴趣的一起来学习一下这篇不错的文章吧。注释是我查询记录,如有不妥,欢迎指出修正。
无需SLAM建图,直接生成Gazebo仿真环境的二维代价地图的功能包pgm_map_creator适配ROS Noetic编译报错及解决方法
在ROS Noetic中,使用`pgm_map_creator`功能包直接生成Gazebo仿真环境的二维代价地图时,可能会遇到各种编译和运行错误。本篇博客详细解析了在适配ROS Noetic过程中常见的报错及其解决方法,包括Boost文件结构更新、C++版本兼容性、Gazebo函数名变更、链接库缺失以及protobuf文件加载错误。通过逐步排查和修改,如更换头文件路径、调整C++标准、更新CMakeLists.txt文件等,成功解决了这些问题,使得`pgm_map_creator`功能包能够顺利编译和运行。
source insight常用设置和快捷键大全
SI常用设置和快捷键大全1.括号配对高亮:“在前括号左侧,后括号左侧” 双击鼠标左键,可以选定匹配括号和其中内容(<>,(),L{R},[]之间) 2.让{ 和 } 不缩进:Options -> Document Options -> Auto Indenting -> Auto Indent Type 选 Simple还有:让{ 和 } 不缩进: options-&...
【入门AUTOSAR网络管理测试】CANoe测试T_WakeUp时间
随着智能电动汽车行业的快速发展,目前AUTOSAR网络管理也得到了广泛应用,AUTOSAR网络管理测试也是汽车网络测试中非常重要的环节,NM问题导致的汽车ECU不能唤醒、电瓶亏电等问题,对于新入门AUTOSAR网络管理测试的同学不清楚如何开展测试,那么本章节就主要给大家介绍网络管理中T_WakeUp时间如何测试。【入门AUTOSAR网络管理测试】AUTOSAR网络管理规范需求解读。
source sight的配置
1 使用定宽字体screen font默认字体是Verdana的,它是一直变宽字体。在Document style中可以将字体改为定宽的Courier new。如果不是等宽的字体,用快捷键是 "Alt + F12",换成draft view查看格式是否满足要求。 2 保证空格与tab键一致。Options菜单Document Options(针对不同文件类型,分别进行设置)下拉左上
09 SAP CPI 访问公共API接口
我在网上找了一个公共API,入参输入汉字返回拼音。至此,一个真正的访问API的接口就做好了。点击保存时可看到红叉报错。
深度学习工具包 DeepLearningToolbox
深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[](https://bitdeli.com/free "Bitdeli Badge")
Source Insight 4.0的超实用常规设置小技巧
【Options】->【File type Options】,选择【Auto Indent…】弹出对话框,将【Smart Indent Options】下的两个复选框的√去掉即可。或许你刚开始设置没什么用,用熟练以后你会发现这个功能就是神器!【Options】->【File type Options】,勾选下图所示选项。显示当前文件头顶的后续完整路径,方便查找、跳转、阅读源码的具体路径。
android 蓝牙通讯demo
android 下蓝牙通讯demo,实现了发现蓝牙,使能蓝牙,通过蓝牙发送消息。
Source Insight 4 显示空格和TAB键及空格显示异常解决
目录一、显示空格和TAB键二、空格显示异常三、全局字体设置 一、显示空格和TAB键 View --> Visible Tabs and spaces。把“ Visible Tabs and spaces”勾选上就行了。 二、空格显示异常 在使用 source insight 打开程序文件时发现空格显示异常(空格变少了),使用UE或Notepad++打开同一程序文件时空格显示正常。 这时我们只需要设置一下,关闭Fixed Whitespace功能即可。 Options --> Style Pr
温度PID控制PLC程序
温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值
假人有限元模型
假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用
Source Insight设置总结
<br /> 在网上搜索了一些关于Source Insight的设置技巧,把这些结果给总结下来:<br /> 1、背景色选择<br /> 要改变背景色Options->preference->windows background->color设置背景色,最好使用原始的配置,不要修改颜色。<br />2、解决字符等宽对齐问题。<br /> SIS默认字体是VERDANA,很漂亮。这网页上应该也是用的VERDANA字体。但由于美观的缘故,VERDANA字体是不等宽的。比如下面两行
Source Insight 4.0空格显示异常?简单设置一招恢复代码对齐
Source Insight 4.0 的空格显示异常问题,根源在于“Line up white space”功能的干扰。通过简单的配置修改,即可恢复代码的正常对齐。如果你在使用Source Insight时还遇到其他显示问题,欢迎在评论区留言交流。希望本文对你有所帮助,让你的编码体验更加愉悦!
Source Insight: 程序编辑器 - 代码浏览器
Source Insight: 程序编辑器 - 代码浏览器
在Ubuntu Linux上通过Wine安装配置Source Insight 3.5的完整指南
在嵌入式开发和系统编程领域,代码阅读与分析是理解复杂项目架构、理清函数调用关系的关键环节。传统上,工程师们依赖强大的代码浏览工具来提升源码探索效率。Wine作为一款优秀的兼容层软件,其原理是将Windows API调用实时转换为POSIX调用,使得Windows应用程序能在Linux环境中直接运行,无需虚拟化整个操作系统,从而在性能与资源占用上取得平衡。这一技术为需要在Linux环境下使用特定Windows开发工具(如经典的代码阅读器)的工程师提供了高效解决方案。通过合理配置Wine环境并优化字体、区域设置

被折叠的 条评论
为什么被折叠?



