Step 1: Splitting the integral:
\(\displaystyle\int_{-1}^{1}(x+1)\,dx=\int_{-1}^1 x\,dx+\int_{-1}^1 1\,dx\).
Step 2: The odd-function piece vanishes:
\(x\) is an odd function, so over the symmetric interval \([-1,1]\), \(\int_{-1}^1 x\,dx=0\).
Step 3: The constant piece:
\(\int_{-1}^1 1\,dx=\) length of interval \(=1-(-1)=2\).
Final Answer:
Total \(=0+2=\boxed{2}\).